diff --git a/types/chai/index.d.ts b/types/chai/index.d.ts index 6e23e0fbce..046055f4d5 100644 --- a/types/chai/index.d.ts +++ b/types/chai/index.d.ts @@ -26,20 +26,20 @@ declare namespace Chai { version: string; } - export interface ExpectStatic extends AssertionStatic { + interface ExpectStatic extends AssertionStatic { fail(actual?: any, expected?: any, message?: string, operator?: Operator): void; } - export interface AssertStatic extends Assert { + interface AssertStatic extends Assert { } - export interface AssertionStatic { + interface AssertionStatic { (target: any, message?: string): Assertion; } - export type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!=="; + type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!=="; - export type OperatorComparable = boolean | null | number | string | undefined | Date; + type OperatorComparable = boolean | null | number | string | undefined | Date; interface ShouldAssertion { equal(value1: any, value2: any, message?: string): void; diff --git a/types/chai/tslint.json b/types/chai/tslint.json index 043173f36d..022342e522 100644 --- a/types/chai/tslint.json +++ b/types/chai/tslint.json @@ -10,7 +10,6 @@ "no-inferrable-types": false, "no-redundant-jsdoc-2": false, "no-unnecessary-generics": false, - "prefer-const": false, - "strict-export-declare-modifiers": false + "prefer-const": false } }