2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: goToDefinitionDifferentFile_Definition.ts
|
|
|
|
////var /*remoteVariableDefinition*/remoteVariable;
|
2017-01-09 18:40:03 +01:00
|
|
|
////function /*remoteFunctionDefinition*/remoteFunction() { }
|
|
|
|
////class /*remoteClassDefinition*/remoteClass { }
|
|
|
|
////interface /*remoteInterfaceDefinition*/remoteInterface{ }
|
|
|
|
////module /*remoteModuleDefinition*/remoteModule{ export var foo = 1;}
|
2015-03-02 23:41:44 +01:00
|
|
|
|
|
|
|
// @Filename: goToDefinitionDifferentFile_Consumption.ts
|
|
|
|
/////*remoteVariableReference*/remoteVariable = 1;
|
|
|
|
/////*remoteFunctionReference*/remoteFunction();
|
|
|
|
////var foo = new /*remoteClassReference*/remoteClass();
|
|
|
|
////class fooCls implements /*remoteInterfaceReference*/remoteInterface { }
|
|
|
|
////var fooVar = /*remoteModuleReference*/remoteModule.foo;
|
|
|
|
|
2016-08-29 22:34:32 +02:00
|
|
|
verify.goToDefinitionForMarkers("remoteVariable", "remoteFunction", "remoteClass", "remoteInterface", "remoteModule");
|