8 lines
238 B
TypeScript
8 lines
238 B
TypeScript
//// [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
|