TypeScript/tests/baselines/reference/exportVisibility.types

19 lines
281 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/exportVisibility.ts ===
export class Foo {
>Foo : Foo
}
export var foo = new Foo();
>foo : Foo
>new Foo() : Foo
>Foo : typeof Foo
export function test(foo: Foo) {
>test : (foo: Foo) => boolean
>foo : Foo
>Foo : Foo
return true;
}