File: reexportClassDefinition.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (28 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (5)
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
26
27
28
=== tests/cases/conformance/externalModules/foo3.ts ===
import foo2 = require('./foo2')
>foo2 : Symbol(foo2, Decl(foo3.ts, 0, 0))

class x extends foo2.x {}
>x : Symbol(x, Decl(foo3.ts, 0, 31))
>foo2.x : Symbol(x, Decl(foo2.ts, 2, 10))
>foo2 : Symbol(foo2, Decl(foo3.ts, 0, 0))
>x : Symbol(x, Decl(foo2.ts, 2, 10))


=== tests/cases/conformance/externalModules/foo1.ts ===
class x{}
>x : Symbol(x, Decl(foo1.ts, 0, 0))

export = x; 
>x : Symbol(x, Decl(foo1.ts, 0, 0))

=== tests/cases/conformance/externalModules/foo2.ts ===
import foo1 = require('./foo1');
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))

export = {
    x: foo1
>x : Symbol(x, Decl(foo2.ts, 2, 10))
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))
}