18 lines
491 B
TypeScript
18 lines
491 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface One {
|
|
//// /*propertyDefinition1*/commonProperty: number;
|
|
//// commonFunction(): number;
|
|
////}
|
|
////
|
|
////interface Two {
|
|
//// /*propertyDefinition2*/commonProperty: string
|
|
//// commonFunction(): number;
|
|
////}
|
|
////
|
|
////var x : One | Two;
|
|
////
|
|
////x.[|/*propertyReference*/commonProperty|];
|
|
////x./*3*/commonFunction;
|
|
|
|
verify.goToDefinition("propertyReference", ["propertyDefinition1", "propertyDefinition2"]);
|