TypeScript/tests/cases/compiler/partiallyAmbientFundule.ts
2014-07-12 17:30:19 -07:00

4 lines
111 B
TypeScript

declare module foo {
export function x(): any;
}
function foo () { } // Legal, because module is ambient