File: referencesForMergedDeclarations3.ts

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// <reference path='fourslash.ts'/>

// class and uninstanciated module

////class [|testClass|] {
////    static staticMethod() { }
////    method() { }
////}
////
////module [|testClass|] {
////    export interface Bar {
////
////    }
////}
////
////var c1: [|testClass|];
////var c2: [|testClass|].Bar;
////[|testClass|].staticMethod();
////[|testClass|].prototype.method();
////[|testClass|].bind(this);
////new [|testClass|]();

const [class0, module0, class1, module1, class2, class3, class4, class5] = test.ranges();
verify.rangesReferenceEachOther([module0, module1]);
verify.rangesReferenceEachOther([class0, class1, class2, class3, class4, class5]);