TypeScript/tests/baselines/reference/exportVisibility.types

20 lines
578 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/exportVisibility.ts ===
export class Foo {
2015-04-13 23:01:57 +02:00
>Foo : Foo, Symbol(Foo, Decl(exportVisibility.ts, 0, 0))
2014-08-15 23:33:16 +02:00
}
export var foo = new Foo();
2015-04-13 23:01:57 +02:00
>foo : Foo, Symbol(foo, Decl(exportVisibility.ts, 3, 10))
2014-08-15 23:33:16 +02:00
>new Foo() : Foo
2015-04-13 23:01:57 +02:00
>Foo : typeof Foo, Symbol(Foo, Decl(exportVisibility.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export function test(foo: Foo) {
2015-04-13 23:01:57 +02:00
>test : (foo: Foo) => boolean, Symbol(test, Decl(exportVisibility.ts, 3, 27))
>foo : Foo, Symbol(foo, Decl(exportVisibility.ts, 5, 21))
>Foo : Foo, Symbol(Foo, Decl(exportVisibility.ts, 0, 0))
2014-08-15 23:33:16 +02:00
return true;
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
}