diff --git a/src/core/RPCHandler.ts b/src/core/RPCHandler.ts index 186f82d..d0c964e 100644 --- a/src/core/RPCHandler.ts +++ b/src/core/RPCHandler.ts @@ -116,27 +116,4 @@ export class RPCHandler extends EventEmitter { throw new Error(); } } -} - - -// const h = new RPCHandler(); - -// h.setProvider<{ -// plus: (a: number, b: number) => number; -// math: { -// minus: (a: number, b: number) => number; -// multiply: (a: number, b: number) => number; -// } -// }>({ -// plus(a, b) { -// return a + b -// }, -// math: { -// minus(a, b) { -// return a - b; -// }, -// multiply(a, b) { -// return a * b; -// }, -// } -// }) \ No newline at end of file +} \ No newline at end of file