* Add completion for quote property name in object literal expression * Add fourslash tests for completion of quoted property in object literal expression * Handle object-literal expression as an argument Undo wip Undo wip Conflicts: src/services/services.ts * Add tests and baseline for object literal expression for arguments
24 lines
565 B
TypeScript
24 lines
565 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*/': ''
|
|
//// }
|
|
|
|
goTo.marker('0');
|
|
verify.completionListContains("jspm");
|
|
verify.completionListAllowsNewIdentifier();
|
|
verify.memberListCount(1);
|
|
|
|
goTo.marker('1');
|
|
verify.completionListContains("jspm:dev");
|
|
verify.completionListAllowsNewIdentifier();
|
|
verify.memberListCount(4);
|