12 lines
224 B
TypeScript
12 lines
224 B
TypeScript
//// [parserModuleDeclaration11.ts]
|
|
declare module string {
|
|
interface X { }
|
|
export function foo(s: string);
|
|
}
|
|
string.foo("abc");
|
|
var x: string.X;
|
|
|
|
|
|
//// [parserModuleDeclaration11.js]
|
|
string.foo("abc");
|
|
var x;
|