d6fb678222
Also removed the unnecessary error messages for type alias privacy check
34 lines
No EOL
531 B
TypeScript
34 lines
No EOL
531 B
TypeScript
// @target: ES5
|
|
// @module: commonjs
|
|
// @declaration: true
|
|
|
|
module M {
|
|
export type Value = string | number | boolean;
|
|
export var x: Value;
|
|
|
|
export class c {
|
|
}
|
|
|
|
export type C = c;
|
|
|
|
export module m {
|
|
export class c {
|
|
}
|
|
}
|
|
|
|
export type MC = m.c;
|
|
|
|
export type fc = () => c;
|
|
}
|
|
|
|
interface Window {
|
|
someMethod();
|
|
}
|
|
|
|
module M {
|
|
export type W = Window | string;
|
|
export module N {
|
|
export class Window { }
|
|
export var p: W;
|
|
}
|
|
} |