12 lines
200 B
TypeScript
12 lines
200 B
TypeScript
//// [numericIndexerConstraint.ts]
|
|
class C {
|
|
0: number;
|
|
[x: number]: RegExp;
|
|
}
|
|
|
|
//// [numericIndexerConstraint.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
return C;
|
|
})();
|