TypeScript/tests/cases/fourslash/referencesForMergedDeclarations4.ts
2019-06-13 12:41:21 -07:00

26 lines
742 B
TypeScript

/// <reference path='fourslash.ts'/>
// class and instantiated module
////[|class [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}testClass|] {
//// static staticMethod() { }
//// method() { }
////}|]
////
////[|module [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 2 |}testClass|] {
//// export interface Bar {
////
//// }
//// export var s = 0;
////}|]
////
////var c1: [|testClass|];
////var c2: [|testClass|].Bar;
////[|testClass|].staticMethod();
////[|testClass|].prototype.method();
////[|testClass|].bind(this);
////[|testClass|].s;
////new [|testClass|]();
verify.singleReferenceGroup("class testClass\nnamespace testClass", "testClass");