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(); | ||||
|     } | ||||
| } | ||||
|   | ||||
							
								
								
									
										3
									
								
								packages/typescript-typings/types/detect-node/index.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								packages/typescript-typings/types/detect-node/index.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| declare module 'detect-node' { | ||||
|     export const isNode: boolean; | ||||
| } | ||||
							
								
								
									
										8
									
								
								packages/typescript-typings/types/json-rpc-error/index.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								packages/typescript-typings/types/json-rpc-error/index.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| declare module 'json-rpc-error' { | ||||
|     export class InternalError extends Error { | ||||
|         constructor(err: Error | string); | ||||
|     } | ||||
|     export class MethodNotFound extends Error { | ||||
|         constructor(); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										4
									
								
								packages/utils/src/globals.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								packages/utils/src/globals.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -4,7 +4,3 @@ declare module '*.json' { | ||||
|     export default json; | ||||
|     /* tslint:enable */ | ||||
| } | ||||
|  | ||||
| declare module 'detect-node' { | ||||
|     export const isNode: boolean; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user