mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 23:40:18 +00:00
adding toJSON() method of HttpError to definition file (#18640)
This commit is contained in:
committed by
Mohamed Hegazy
parent
bc55e7a12a
commit
88daab0181
Vendored
+2
@@ -35,6 +35,8 @@ export class HttpError extends VError {
|
||||
body: any;
|
||||
|
||||
displayName: string;
|
||||
|
||||
toJSON(): any;
|
||||
}
|
||||
|
||||
export class DefinedHttpError extends HttpError {
|
||||
|
||||
Reference in New Issue
Block a user