File: umd6.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 (21 lines) | stat: -rw-r--r-- 634 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
=== tests/cases/conformance/externalModules/a.ts ===
/// <reference path="foo.d.ts" />
let y: number = Foo.fn();
>y : Symbol(y, Decl(a.ts, 1, 3))
>Foo.fn : Symbol(Foo.fn, Decl(foo.d.ts, 0, 25))
>Foo : Symbol(Foo, Decl(foo.d.ts, 3, 15))
>fn : Symbol(Foo.fn, Decl(foo.d.ts, 0, 25))

=== tests/cases/conformance/externalModules/foo.d.ts ===
declare namespace Thing {
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))

	export function fn(): number;
>fn : Symbol(fn, Decl(foo.d.ts, 0, 25))
}
export = Thing;
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))

export as namespace Foo;
>Foo : Symbol(Foo, Decl(foo.d.ts, 3, 15))