TypeScript/tests/cases/fourslash/referencesForNumericLiteralPropertyNames.ts

12 lines
220 B
TypeScript

/// <reference path='fourslash.ts'/>
////class Foo {
//// public [|12|]: any;
////}
////
////var x: Foo;
////x[[|12|]];
////x = { "[|12|]": 0 };
////x = { [|12|]: 0 };
verify.rangesReferenceEachOther();