2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////declare var /*ambientVariableDefinition*/ambientVar;
|
2017-01-09 18:40:03 +01:00
|
|
|
////declare function /*ambientFunctionDefinition*/ambientFunction();
|
2014-07-13 01:04:16 +02:00
|
|
|
////declare class ambientClass {
|
|
|
|
//// /*constructorDefinition*/constructor();
|
2017-01-09 18:40:03 +01:00
|
|
|
//// static /*staticMethodDefinition*/method();
|
|
|
|
//// public /*instanceMethodDefinition*/method();
|
2014-07-13 01:04:16 +02:00
|
|
|
////}
|
2014-08-01 04:58:18 +02:00
|
|
|
////
|
2014-07-13 01:04:16 +02:00
|
|
|
/////*ambientVariableReference*/ambientVar = 1;
|
|
|
|
/////*ambientFunctionReference*/ambientFunction();
|
|
|
|
////var ambientClassVariable = new /*constructorReference*/ambientClass();
|
|
|
|
////ambientClass./*staticMethodReference*/method();
|
|
|
|
////ambientClassVariable./*instanceMethodReference*/method();
|
|
|
|
|
2016-08-29 22:34:32 +02:00
|
|
|
verify.goToDefinitionForMarkers("ambientVariable", "ambientFunction", "constructor", "staticMethod", "instanceMethod");
|