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