24 lines
376 B
JavaScript
24 lines
376 B
JavaScript
|
//// [stringIndexerAndConstructor.ts]
|
||
|
class C {
|
||
|
[s: string]: number;
|
||
|
constructor() { }
|
||
|
static v() { }
|
||
|
}
|
||
|
|
||
|
interface I {
|
||
|
[s: string]: number;
|
||
|
(): boolean;
|
||
|
new (): boolean;
|
||
|
"": string;
|
||
|
d: string;
|
||
|
}
|
||
|
|
||
|
//// [stringIndexerAndConstructor.js]
|
||
|
var C = (function () {
|
||
|
function C() {
|
||
|
}
|
||
|
C.v = function () {
|
||
|
};
|
||
|
return C;
|
||
|
})();
|