aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src/globals.d.ts
blob: 837ed287d48270cf3de63bf782db2bb5d9c00911 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
declare module '*.json' {
    const json: any;
    /* tslint:disable */
    export default json;
    /* tslint:enable */
}

// 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();
    }
}