31 lines
681 B
TypeScript
31 lines
681 B
TypeScript
|
module P {
|
||
|
{
|
||
|
module M { }
|
||
|
export namespace N {
|
||
|
export interface I { }
|
||
|
}
|
||
|
|
||
|
namespace Q.K { }
|
||
|
|
||
|
declare module "ambient" {
|
||
|
|
||
|
}
|
||
|
|
||
|
export = M;
|
||
|
|
||
|
var v;
|
||
|
function foo() { }
|
||
|
export * from "ambient";
|
||
|
export { foo };
|
||
|
export { baz as b } from "ambient";
|
||
|
export default v;
|
||
|
export default class C { }
|
||
|
export function bee() { }
|
||
|
import I = M;
|
||
|
import I2 = require("foo");
|
||
|
import * as Foo from "ambient";
|
||
|
import bar from "ambient";
|
||
|
import { baz } from "ambient";
|
||
|
import "ambient";
|
||
|
}
|
||
|
}
|