TypeScript/tests/cases/fourslash/completion_enum-members-with-invalid-identifiers-should-not-show-in-completion.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

14 lines
193 B
TypeScript

/// <reference path='fourslash.ts'/>
//// enum e {
//// "1",
//// 2 = 3,
//// 3,
//// a,
//// b
//// }
////
//// e./**/
verify.completionsAt("", ["a", "b"]);