mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
22 lines
210 B
TypeScript
22 lines
210 B
TypeScript
class C {
|
|
f;
|
|
|
|
constructor() {
|
|
this.f = 5;
|
|
}
|
|
}
|
|
|
|
class D {
|
|
f = 4; // $ Alert
|
|
|
|
constructor() {
|
|
this.f = 5;
|
|
}
|
|
}
|
|
|
|
class G {
|
|
constructor(public h: string) { // $ Alert
|
|
this.h = h;
|
|
}
|
|
}
|