20 lines
318 B
TypeScript
20 lines
318 B
TypeScript
|
// @target: es5
|
||
|
// @module: commonjs
|
||
|
// @declaration: true
|
||
|
|
||
|
// @filename: server.ts
|
||
|
class c {
|
||
|
}
|
||
|
interface i {
|
||
|
}
|
||
|
module m {
|
||
|
export var x = 10;
|
||
|
}
|
||
|
var x = 10;
|
||
|
module uninstantiated {
|
||
|
}
|
||
|
export { c };
|
||
|
export { c as c2 };
|
||
|
export { i, m as instantiatedModule };
|
||
|
export { uninstantiated };
|
||
|
export { x };
|