* 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
20 lines
518 B
TypeScript
20 lines
518 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
//// let configFiles1: {
|
|
//// jspm: string;
|
|
//// 'jspm:browser': string;
|
|
//// } = {
|
|
//// /*0*/: "",
|
|
//// }
|
|
|
|
//// let configFiles2: {
|
|
//// jspm: string;
|
|
//// 'jspm:browser': string;
|
|
//// } = {
|
|
//// jspm: "",
|
|
//// '/*1*/': ""
|
|
//// }
|
|
|
|
verify.completionsAt("0", ["jspm", '"jspm:browser"'], { isNewIdentifierLocation: true });
|
|
verify.completionsAt("1", ["jspm", "jspm:browser"], { isNewIdentifierLocation: true });
|