mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
16 lines
137 B
TypeScript
16 lines
137 B
TypeScript
class C {
|
|
f; // OK
|
|
|
|
constructor() {
|
|
this.f = 5;
|
|
}
|
|
}
|
|
|
|
class D {
|
|
f = 4; // NOT OK
|
|
|
|
constructor() {
|
|
this.f = 5;
|
|
}
|
|
}
|