##// END OF EJS Templates
switched back to dojo-typings module...
switched back to dojo-typings module added skipLibCheck compiler option due to typings sickness prepare for release

File last commit:

r2:8ec37bf1b4d1 default
r4:fc9f82c082ef v1.0.0-rc2 default
Show More
interfaces.d.ts
57 lines | 1.3 KiB | video/mp2t | TypeScriptLexer
export type NodeOrString = Node | string;
export type ElementOrString = Element | string;
export type NodeFragmentOrString = NodeOrString | DocumentFragment;
export type PromiseOrValue<T> = T | PromiseLike<T>;
export type PromiseObjectOrArray = { [name: string]: PromiseOrValue<any> } | PromiseOrValue<any>[];
export type PromiseTypedObjectOrArray<T> = { [name: string]: PromiseOrValue<T> } | PromiseOrValue<T>[];
export interface GenericConstructor<T> {
new(...args: any[]): T;
prototype: T;
}
export interface GenericObject {
[id: string]: any;
}
export interface GenericFunction<T> {
(...args: any[]): T;
}
export interface Handle {
remove(): void;
}
export interface WatchHandle extends Handle {
unwatch(): void;
}
export interface EventListener {
(evt: any): void;
}
export interface BuildProfile {
resourceTags: { [tag: string]: (filename: string, mid?: string) => boolean; };
}
export interface Package {
location?: string;
main?: string;
name?: string;
}
export interface ModuleMap extends ModuleMapItem {
[sourceMid: string]: ModuleMapReplacement;
}
export interface ModuleMapItem {
[mid: string]: /* ModuleMapReplacement | ModuleMap */ any;
}
export interface ModuleMapReplacement extends ModuleMapItem {
[findMid: string]: /* replaceMid */ string;
}