From ab6121c8c839ac0548435262213aac21a583f99e Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 22 Sep 2019 10:31:24 +0200 Subject: [PATCH] doc --- src/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.ts b/src/Utils.ts index 66b874c..01bcdf7 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -8,7 +8,7 @@ import { SubscriptionResponse } from "./Types"; * Translate an RPC to RPCInfo for serialization. * @param rpc The RPC to transform * @param owner The owning RPC group's name - * @throws Error on RPC without name property + * @throws {Errror} Error on RPC without name property */ export const rpcToRpcinfo = (rpc : T.RPC, owner: T.Owner):T.RpcInfo => { switch (typeof rpc){