TypeScript/tests/baselines/reference/exportAndImport-es5.types

19 lines
303 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/modules/m1.ts ===
export default function f1() {
2015-04-18 00:53:36 +02:00
>f1 : () => void
}
=== tests/cases/conformance/es6/modules/m2.ts ===
import f1 from "./m1";
2015-04-18 00:53:36 +02:00
>f1 : () => void
export default function f2() {
2015-04-18 00:53:36 +02:00
>f2 : () => void
f1();
>f1() : void
2015-04-18 00:53:36 +02:00
>f1 : () => void
}