mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
adding toJSON() method of HttpError to definition file (#18640)
This commit is contained in:
parent
bc55e7a12a
commit
88daab0181
2
types/restify-errors/index.d.ts
vendored
2
types/restify-errors/index.d.ts
vendored
@ -35,6 +35,8 @@ export class HttpError extends VError {
|
||||
body: any;
|
||||
|
||||
displayName: string;
|
||||
|
||||
toJSON(): any;
|
||||
}
|
||||
|
||||
export class DefinedHttpError extends HttpError {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user