TypeScript/tests/cases/fourslash/completionListInvalidMemberNames2.ts
Andy 36607e1bde Allow quoted names in completions (#18162)
* Allow quoted names in completions

* Don't allow string literal completions if not in an object literal; and use string literals for number keys

* Add TODO
2017-09-06 14:39:53 -07:00

11 lines
209 B
TypeScript

/// <reference path='fourslash.ts' />
////enum Foo {
//// X, Y, '☆'
////}
////Foo./*a*/;
////Foo["/*b*/"];
verify.completionsAt("a", ["X", "Y"]);
verify.completionsAt("b", ["X", "Y", "☆"]);