UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

13 lines • 640 B
import { Constructor } from "../types/common"; export declare class Components { private env; private static globalInstanceMap; private instanceMap; constructor(env?: string); register(target: any, instance: any): void; asyncGetWithArgs<T>(target: Constructor<T>, ...args: Array<any>): Promise<T>; getWithArgs<T>(target: Constructor<T>, ...args: Array<any>): T; asyncGet<T>(target: Constructor<T>, constructorArgs?: Array<any>, args?: Record<string, any>): Promise<T>; get<T>(target: Constructor<T>, constructorArgs?: Array<any>, args?: Record<string, any>): T; } //# sourceMappingURL=components.d.ts.map