TypeScript/tests/baselines/reference/partiallyAmbientClodule.types
2014-08-15 14:37:48 -07:00

11 lines
215 B
Plaintext

=== 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