From e080c0caa8ca31caf6d215296ac6ac58d6a2fcc6 Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 1 Dec 2017 13:01:06 +0900 Subject: [PATCH] Cleanup ignore lint error: no-declare-current-package --- types/chai/index.d.ts | 6 +++--- types/chai/tslint.json | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/types/chai/index.d.ts b/types/chai/index.d.ts index 046055f4d5..8a9d45d331 100644 --- a/types/chai/index.d.ts +++ b/types/chai/index.d.ts @@ -256,7 +256,7 @@ declare namespace Chai { (object: Object, property: string, message?: string): Assertion; } - export interface Assert { + interface Assert { /** * @param expression Expression to test for truthiness. * @param message Message to display on error. @@ -1587,7 +1587,7 @@ declare namespace Chai { doesNotHaveAllDeepKeys(object: T, keys: Array | { [key: string]: any }, message?: string): void; } - export interface Config { + interface Config { /** * Default: false */ @@ -1604,7 +1604,7 @@ declare namespace Chai { truncateThreshold: number; } - export class AssertionError { + class AssertionError { constructor(message: string, _props?: any, ssf?: Function); name: string; message: string; diff --git a/types/chai/tslint.json b/types/chai/tslint.json index e3c7a3ed0a..2252c04108 100644 --- a/types/chai/tslint.json +++ b/types/chai/tslint.json @@ -5,7 +5,6 @@ "callable-types": false, "new-parens": false, "no-construct": false, - "no-declare-current-package": false, "no-empty-interface": false, "no-inferrable-types": false, "no-redundant-jsdoc-2": false,