TypeScript/tests/cases/fourslash/completionEntryForUnionProperty2.ts
2014-10-13 14:06:16 -07:00

19 lines
415 B
TypeScript

///<reference path="fourslash.ts" />
////interface One {
//// commonProperty: number;
//// commonFunction(): number;
////}
////
////interface Two {
//// commonProperty: string
//// commonFunction(): number;
////}
////
////var x : One | Two;
////
////x.commonProperty./**/
goTo.marker();
verify.memberListContains("toString", "(method) toString(): string");
verify.memberListCount(1);