TypeScript/tests/baselines/reference/ambientFundule.types

13 lines
598 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/ambientFundule.ts ===
declare function f();
2015-04-13 23:01:57 +02:00
>f : typeof f, Symbol(f, Decl(ambientFundule.ts, 0, 0), Decl(ambientFundule.ts, 0, 21), Decl(ambientFundule.ts, 1, 26))
2014-08-15 23:33:16 +02:00
declare module f { var x }
2015-04-13 23:01:57 +02:00
>f : typeof f, Symbol(f, Decl(ambientFundule.ts, 0, 0), Decl(ambientFundule.ts, 0, 21), Decl(ambientFundule.ts, 1, 26))
>x : any, Symbol(x, Decl(ambientFundule.ts, 1, 22))
2014-08-15 23:33:16 +02:00
declare function f(x);
2015-04-13 23:01:57 +02:00
>f : typeof f, Symbol(f, Decl(ambientFundule.ts, 0, 0), Decl(ambientFundule.ts, 0, 21), Decl(ambientFundule.ts, 1, 26))
>x : any, Symbol(x, Decl(ambientFundule.ts, 2, 19))
2014-08-15 23:33:16 +02:00