aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/error.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslint/lib/error.d.ts')
-rw-r--r--node_modules/tslint/lib/error.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/error.d.ts b/node_modules/tslint/lib/error.d.ts
index 471e1100b..2b87c5cb0 100644
--- a/node_modules/tslint/lib/error.d.ts
+++ b/node_modules/tslint/lib/error.d.ts
@@ -14,9 +14,9 @@ export declare class Error {
*/
export declare class FatalError extends Error {
message: string;
- innerError: Error;
+ innerError: Error | undefined;
static NAME: string;
- constructor(message: string, innerError?: Error);
+ constructor(message: string, innerError?: Error | undefined);
}
export declare function isError(possibleError: any): possibleError is Error;
export declare function showWarningOnce(message: string): void;