You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the return type is explicit here as grpcUtils.promisifyUnaryCall<clientPB.StatusMessage>.
The type information for the parameters are completely missing. What do I pass to this? is it one parameter or many?
To find out I need to go look at the definition of this.client.vaultsCreate
Specification
Here is an example of a function from src/client/GRPCClientClient.ts:39:
While the return type is explicit here as
grpcUtils.promisifyUnaryCall<clientPB.StatusMessage>.The type information for the parameters are completely missing. What do I pass to this? is it one parameter or many?
To find out I need to go look at the definition of
this.client.vaultsCreateWe should explicitly state the parameters and their types like so:
Additional context
This is used by the CLI and the Polykey GUI to handle comunication to the agent. it will be used extensively. adding type information will make it:
As it curretly is error will only come up during runtime when calling the function.
Tasks
...argswith the respective parameter and type for each function.