Move type defs to typescript-typingsd
This commit is contained in:
10
packages/subproviders/src/globals.d.ts
vendored
10
packages/subproviders/src/globals.d.ts
vendored
@@ -4,13 +4,3 @@ declare module '*.json' {
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user