* 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
574 B
TypeScript
24 lines
574 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
//// export interface ConfigFiles {
|
|
//// jspm: string;
|
|
//// 'jspm:browser': string;
|
|
//// 'jspm:dev': string;
|
|
//// 'jspm:node': string;
|
|
//// }
|
|
|
|
//// function foo(c: ConfigFiles) {}
|
|
//// foo({
|
|
//// j/*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);
|