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 }