11 lines
228 B
Text
11 lines
228 B
Text
|
=== 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
|
||
|
|