diff options
Diffstat (limited to 'packages/typescript-typings/types/json-rpc-error/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/json-rpc-error/index.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/typescript-typings/types/json-rpc-error/index.d.ts b/packages/typescript-typings/types/json-rpc-error/index.d.ts new file mode 100644 index 000000000..dfaf92167 --- /dev/null +++ b/packages/typescript-typings/types/json-rpc-error/index.d.ts @@ -0,0 +1,8 @@ +declare module 'json-rpc-error' { + export class InternalError extends Error { + constructor(err: Error | string); + } + export class MethodNotFound extends Error { + constructor(); + } +} |