##// END OF EJS Templates
created typings for basic part of dojo and dijit further work is required to...
created typings for basic part of dojo and dijit further work is required to complete typings and separate them from this project dojo-typings replaced with @type/dojo, @type/dijit.

File last commit:

r2:8ec37bf1b4d1 default
r2:8ec37bf1b4d1 default
Show More
AdapterRegistry.d.ts
28 lines | 881 B | video/mp2t | TypeScriptLexer
/ src / typings / dojo / AdapterRegistry.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 interface AdapterRegistry {
/**
* register a check function to determine if the wrap function or
* object gets selected
*/
register(name: string, check: (...args: any[]) => boolean, wrap: Function, directReturn?: boolean, override?: boolean): void;
/**
* Find an adapter for the given arguments. If no suitable adapter
* is found, throws an exception. match() accepts any number of
* arguments, all of which are passed to all matching functions
* from the registered pairs.
*/
match(...args: any[]): any;
/**
* Remove a named adapter from the registry
*/
unregister(name: string): boolean;
}
interface AdapterRegistryConstructor {
new (returnWrappers?: boolean): AdapterRegistry;
prototype: AdapterRegistry;
}
declare const AdapterRegistry: AdapterRegistryConstructor;
export = AdapterRegistry;