mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
18 lines
332 B
TypeScript
18 lines
332 B
TypeScript
import * as dummy from 'dummy';
|
|
|
|
class InstanceField {
|
|
instanceField = foo();
|
|
}
|
|
|
|
class ParameterField {
|
|
constructor(public parameterField) {}
|
|
}
|
|
|
|
class ParameterFieldInit {
|
|
constructor(public parameterField = {}) { parameterField + 42; }
|
|
}
|
|
|
|
class ParameterFieldInitUnused {
|
|
constructor(public parameterField = {}) {}
|
|
}
|