瀏覽代碼

doc

master
peter 4 年之前
父節點
當前提交
ab6121c8c8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/Utils.ts

+ 1
- 1
src/Utils.ts 查看文件

@@ -8,7 +8,7 @@ import { SubscriptionResponse } from "./Types";
8 8
  * Translate an RPC to RPCInfo for serialization.
9 9
  * @param rpc The RPC to transform
10 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 13
 export const rpcToRpcinfo = <SubResT = {}>(rpc : T.RPC<SubResT>, owner: T.Owner):T.RpcInfo => {
14 14
     switch (typeof rpc){

Loading…
取消
儲存