IRegistry.resolve() method
Look up a dependency
Signature
resolve<T>(symbol: string): Promise<T>;
Parameters
Parameter | Type | Description |
---|---|---|
symbol | string | The symbol used to identify the module |
Returns
Type | Description |
---|---|
Promise<T> | An implementation of the given interface |
Throws
Error |
---|