TypeScript/tests/baselines/reference/partiallyAmbientFundule.types
2015-04-15 16:44:20 -07:00

11 lines
228 B
Plaintext

=== tests/cases/compiler/partiallyAmbientFundule.ts ===
declare module foo {
>foo : typeof foo
export function x(): any;
>x : () => any
}
function foo () { } // Legal, because module is ambient
>foo : typeof foo