* Ensure static index signatures have an errorNode available * Lookup static index signature declarations in the right symbol table, stop checking prototype props
13 lines
274 B
TypeScript
13 lines
274 B
TypeScript
//// [staticIndexSignatureAndNormalIndexSignature.ts]
|
|
class Foo {
|
|
[p: string]: any;
|
|
static [p: string]: number;
|
|
}
|
|
|
|
//// [staticIndexSignatureAndNormalIndexSignature.js]
|
|
var Foo = /** @class */ (function () {
|
|
function Foo() {
|
|
}
|
|
return Foo;
|
|
}());
|