10 lines
215 B
Text
10 lines
215 B
Text
=== tests/cases/compiler/partiallyAmbientClodule.ts ===
|
|
declare module foo {
|
|
>foo : typeof foo
|
|
|
|
export function x(): any;
|
|
>x : () => any
|
|
}
|
|
class foo { } // Legal, because module is ambient
|
|
>foo : foo
|
|
|