mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 08:17:54 +08:00
Cleanup lint error: strict-export-declare-modifiers
This commit is contained in:
10
types/chai/index.d.ts
vendored
10
types/chai/index.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user