From b1aa1dfd94d91c3c32f190c465150237dff1db3f Mon Sep 17 00:00:00 2001 From: Maxime Toumi-M Date: Sat, 24 Dec 2016 10:31:27 +0100 Subject: [PATCH] Linting --- verror/index.d.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/verror/index.d.ts b/verror/index.d.ts index 75895a1d7d..96f711c9f7 100644 --- a/verror/index.d.ts +++ b/verror/index.d.ts @@ -1,16 +1,19 @@ -// Type definitions for verror v1.9.0 +// Type definitions for verror 1.9 // Project: https://github.com/davepacheco/node-verror // Definitions by: Sven Reglitzki , Maxime Toumi-M // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -type VErrorInfo = { [key: string]: any }; +// tslint:disable-next-line:functional-interfaces +interface VErrorInfo { + [key: string]: any; +} declare interface VErrorOptions { cause?: Error | null | undefined; name?: string; strict?: boolean; - constructorOpt?: Function; + constructorOpt?: (...args: any[]) => void; info?: VErrorInfo; }