Browse Source

doc

master
peter 5 years ago
parent
commit
ab6121c8c8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Utils.ts

+ 1
- 1
src/Utils.ts View File

8
  * Translate an RPC to RPCInfo for serialization.
8
  * Translate an RPC to RPCInfo for serialization.
9
  * @param rpc The RPC to transform
9
  * @param rpc The RPC to transform
10
  * @param owner The owning RPC group's name
10
  * @param owner The owning RPC group's name
11
- * @throws Error on RPC without name property
11
+ * @throws {Errror} Error on RPC without name property
12
  */
12
  */
13
 export const rpcToRpcinfo = <SubResT = {}>(rpc : T.RPC<SubResT>, owner: T.Owner):T.RpcInfo => {
13
 export const rpcToRpcinfo = <SubResT = {}>(rpc : T.RPC<SubResT>, owner: T.Owner):T.RpcInfo => {
14
     switch (typeof rpc){
14
     switch (typeof rpc){

Loading…
Cancel
Save