TypeScript/tests/baselines/reference/partiallyAmbientFundule.js

10 lines
239 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [partiallyAmbientFundule.ts]
declare module foo {
export function x(): any;
}
function foo () { } // Legal, because module is ambient
//// [partiallyAmbientFundule.js]
function foo() {
} // Legal, because module is ambient