* 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
18 lines
529 B
TypeScript
18 lines
529 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
//// export interface Configfiles {
|
|
//// jspm: string;
|
|
//// 'jspm:browser': string;
|
|
//// 'jspm:dev': string;
|
|
//// 'jspm:node': string;
|
|
//// }
|
|
|
|
//// let files: Configfiles;
|
|
//// files = {
|
|
//// /*0*/: '',
|
|
//// '/*1*/': ''
|
|
//// }
|
|
|
|
verify.completionsAt("0", ["jspm", '"jspm:browser"', '"jspm:dev"', '"jspm:node"'], { isNewIdentifierLocation: true });
|
|
verify.completionsAt("1", ["jspm", "jspm:browser", "jspm:dev", "jspm:node"], { isNewIdentifierLocation: true });
|