4d1182401c
Handles #1724
14 lines
467 B
JavaScript
14 lines
467 B
JavaScript
//// [typeAliasDoesntMakeModuleInstantiated.ts]
|
|
declare module m {
|
|
// type alias declaration here shouldnt make the module declaration instantiated
|
|
type Selector = string| string[] |Function;
|
|
|
|
export interface IStatic {
|
|
(selector: any /* Selector */): IInstance;
|
|
}
|
|
export interface IInstance { }
|
|
}
|
|
declare var m: m.IStatic; // Should be ok to have var 'm' as module is non instantiated
|
|
|
|
//// [typeAliasDoesntMakeModuleInstantiated.js]
|