TypeScript/tests/cases/fourslash/completionListInObjectLiteral.ts

16 lines
339 B
TypeScript

/// <reference path="fourslash.ts" />
////interface point {
//// x: number;
//// y: number;
////}
////interface thing {
//// name: string;
//// pos: point;
////}
////var t: thing;
////t.pos = { x: 4, y: 3 + t./**/ };
goTo.marker();
verify.not.completionListContains('x');
verify.completionListContains('name');