interface ClientGrpc {
getService<T extends {}>(name: string): T
getClientByServiceName<T = any>(name: string): T
}
Methods
getService()
|
getService<T extends {}>(name: string): T
Parameters
Option |
Type |
Description |
name
|
string |
|
Returns
T
|
getClientByServiceName()
|
getClientByServiceName<T = any>(name: string): T
Parameters
Option |
Type |
Description |
name
|
string |
|
Returns
T
|