mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Update VError constructor
VError constructor can be called with no arguments
This commit is contained in:
Vendored
+1
@@ -31,6 +31,7 @@ declare class VError extends Error {
|
||||
cause(): Error | undefined;
|
||||
constructor(options: VError.Options | Error, message: string, ...params: any[]);
|
||||
constructor(message: string, ...params: any[]);
|
||||
constructor();
|
||||
}
|
||||
|
||||
declare namespace VError {
|
||||
|
||||
Reference in New Issue
Block a user