nodejs-google-adwords
Version:
Google Ads API Client Library for Node.js
17 lines (16 loc) • 364 B
TypeScript
/**
* TODO: improve the static types
*
* @author dulin
* @class RegistryService
* @template T
*/
declare class RegistryService<T> {
static instance: any;
static init(): any;
private registry;
private constructor();
register<S extends new () => S>(service: S): this;
get<K extends keyof T>(key: K): T[K];
}
export { RegistryService };