Update VError constructor

VError constructor can be called with no arguments
This commit is contained in:
Johan Nordberg
2017-08-31 14:37:48 +02:00
committed by GitHub
parent 5bb93e3433
commit b2015d0212
+1
View File
@@ -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 {