19 lines
415 B
TypeScript
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); |