TypeScript/tests/baselines/reference/objectLiteralWithNumericPropertyName.js

14 lines
181 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [objectLiteralWithNumericPropertyName.ts]
interface A {
0: string;
}
var x: A = {
0: 3
};
//// [objectLiteralWithNumericPropertyName.js]
var x = {
0: 3
};