2014-12-17 02:45:12 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2014-10-08 08:17:05 +02:00
|
|
|
////interface One {
|
|
|
|
//// /*propertyDefinition1*/commonProperty: number;
|
|
|
|
//// commonFunction(): number;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////interface Two {
|
|
|
|
//// /*propertyDefinition2*/commonProperty: string
|
|
|
|
//// commonFunction(): number;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var x : One | Two;
|
|
|
|
////
|
2017-10-19 00:49:46 +02:00
|
|
|
////x.[|/*propertyReference*/commonProperty|];
|
2014-12-17 02:45:12 +01:00
|
|
|
////x./*3*/commonFunction;
|
|
|
|
|
2016-08-29 22:34:32 +02:00
|
|
|
verify.goToDefinition("propertyReference", ["propertyDefinition1", "propertyDefinition2"]);
|