Cleanup lint error: strict-export-declare-modifiers

This commit is contained in:
segayuu
2017-12-01 12:54:04 +09:00
parent 5e7dfd0130
commit eac6a7d42f
2 changed files with 6 additions and 7 deletions

10
types/chai/index.d.ts vendored
View File

@@ -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;

View File

@@ -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
}
}