19 lines
281 B
Plaintext
19 lines
281 B
Plaintext
|
=== 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;
|
||
|
}
|
||
|
|