TypeScript/tests/baselines/reference/partiallyAmbientClodule.types
2015-04-15 16:44:20 -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