25 lines
425 B
Plaintext
25 lines
425 B
Plaintext
|
=== tests/cases/compiler/b.d.ts ===
|
||
|
export function foo();
|
||
|
>foo : () => any
|
||
|
|
||
|
export function bar();
|
||
|
>bar : () => any
|
||
|
|
||
|
=== tests/cases/compiler/a.ts ===
|
||
|
import { default as Foo } from "./b";
|
||
|
>default : typeof Foo
|
||
|
>Foo : typeof Foo
|
||
|
|
||
|
Foo.bar();
|
||
|
>Foo.bar() : any
|
||
|
>Foo.bar : () => any
|
||
|
>Foo : typeof Foo
|
||
|
>bar : () => any
|
||
|
|
||
|
Foo.foo();
|
||
|
>Foo.foo() : any
|
||
|
>Foo.foo : () => any
|
||
|
>Foo : typeof Foo
|
||
|
>foo : () => any
|
||
|
|