소스 검색

doc

master
peter 6 년 전
부모
커밋
ab6121c8c8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/Utils.ts

+ 1
- 1
src/Utils.ts 파일 보기

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…
취소
저장