TypeScript/tests/baselines/reference/commonjsSafeImport.types
2015-08-18 21:59:27 -04:00

14 lines
225 B
Plaintext

=== tests/cases/compiler/10_lib.ts ===
export function Foo() {}
>Foo : () => void
=== tests/cases/compiler/main.ts ===
import { Foo } from './10_lib';
>Foo : () => void
Foo();
>Foo() : void
>Foo : () => void