mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
87 lines
2.0 KiB
JSON
87 lines
2.0 KiB
JSON
// === goToDefinition ===
|
|
// === /goToDefinitionAmbiants.ts ===
|
|
// <|declare var [|ambientVar|];|>
|
|
// declare function ambientFunction();
|
|
// declare class ambientClass {
|
|
// constructor();
|
|
// static method();
|
|
// public method();
|
|
// }
|
|
//
|
|
// /*GOTO DEF*/ambientVar = 1;
|
|
// ambientFunction();
|
|
// var ambientClassVariable = new ambientClass();
|
|
// ambientClass.method();
|
|
// ambientClassVariable.method();
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionAmbiants.ts ===
|
|
// declare var ambientVar;
|
|
// <|declare function [|ambientFunction|]();|>
|
|
// declare class ambientClass {
|
|
// constructor();
|
|
// static method();
|
|
// public method();
|
|
// }
|
|
//
|
|
// ambientVar = 1;
|
|
// /*GOTO DEF*/ambientFunction();
|
|
// var ambientClassVariable = new ambientClass();
|
|
// ambientClass.method();
|
|
// ambientClassVariable.method();
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionAmbiants.ts ===
|
|
// declare var ambientVar;
|
|
// declare function ambientFunction();
|
|
// <|declare class [|ambientClass|] {
|
|
// [|constructor();|]
|
|
// static method();
|
|
// public method();
|
|
// }|>
|
|
//
|
|
// ambientVar = 1;
|
|
// ambientFunction();
|
|
// var ambientClassVariable = new /*GOTO DEF*/ambientClass();
|
|
// ambientClass.method();
|
|
// ambientClassVariable.method();
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionAmbiants.ts ===
|
|
// declare var ambientVar;
|
|
// declare function ambientFunction();
|
|
// declare class ambientClass {
|
|
// constructor();
|
|
// <|static [|method|]();|>
|
|
// public method();
|
|
// }
|
|
//
|
|
// ambientVar = 1;
|
|
// ambientFunction();
|
|
// var ambientClassVariable = new ambientClass();
|
|
// ambientClass./*GOTO DEF*/method();
|
|
// ambientClassVariable.method();
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionAmbiants.ts ===
|
|
// declare var ambientVar;
|
|
// declare function ambientFunction();
|
|
// declare class ambientClass {
|
|
// constructor();
|
|
// static method();
|
|
// <|public [|method|]();|>
|
|
// }
|
|
//
|
|
// ambientVar = 1;
|
|
// ambientFunction();
|
|
// var ambientClassVariable = new ambientClass();
|
|
// ambientClass.method();
|
|
// ambientClassVariable./*GOTO DEF*/method(); |