From e8b1de686427c96dde186a7e253cf9981c541da0 Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 1 Dec 2017 13:11:02 +0900 Subject: [PATCH] Cleanup ignore lint error: no-inferrable-types --- types/chai/chai-tests.ts | 2 +- types/chai/tslint.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/types/chai/chai-tests.ts b/types/chai/chai-tests.ts index ef74d17115..fba32ec840 100644 --- a/types/chai/chai-tests.ts +++ b/types/chai/chai-tests.ts @@ -1104,7 +1104,7 @@ class CrashyObject { suite('assert', () => { test('assert', () => { - const foo: string = 'bar'; + const foo = 'bar' as string; assert(foo === 'bar', 'expected foo to equal `bar`'); assert(foo === 'baz', 'expected foo to equal `bar`'); diff --git a/types/chai/tslint.json b/types/chai/tslint.json index 86050707d8..1a0ebe45c6 100644 --- a/types/chai/tslint.json +++ b/types/chai/tslint.json @@ -5,7 +5,6 @@ "callable-types": false, "new-parens": false, "no-empty-interface": false, - "no-inferrable-types": false, "no-redundant-jsdoc-2": false, "no-unnecessary-generics": false }