aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-13 19:05:21 +0800
committerFabio Berger <me@fabioberger.com>2018-07-13 19:05:21 +0800
commit701ea5c46bb1d25ffc2e6962042ba3e0c0277454 (patch)
treede205416088819ce51dd2defdf23e53b2e77d167 /packages/subproviders
parent2e5ff53d7271509accc226e83d76d1785350b1d2 (diff)
downloaddexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar.gz
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar.bz2
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar.lz
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar.xz
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.tar.zst
dexon-sol-tools-701ea5c46bb1d25ffc2e6962042ba3e0c0277454.zip
Add typedoc for json-rpc-error package
Diffstat (limited to 'packages/subproviders')
-rw-r--r--packages/subproviders/src/globals.d.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts
index 6af4c7980..837ed287d 100644
--- a/packages/subproviders/src/globals.d.ts
+++ b/packages/subproviders/src/globals.d.ts
@@ -5,4 +5,12 @@ declare module '*.json' {
/* tslint:enable */
}
-declare module 'json-rpc-error';
+// TODO: Move this to `typescript-typings` once it is more fleshed out
+declare module 'json-rpc-error' {
+ export class InternalError extends Error {
+ constructor(err: Error | string);
+ }
+ export class MethodNotFound extends Error {
+ constructor();
+ }
+}