diff --git a/types/chai/chai-tests.ts b/types/chai/chai-tests.ts index 2f19c46cb1..141c985dd4 100644 --- a/types/chai/chai-tests.ts +++ b/types/chai/chai-tests.ts @@ -349,10 +349,6 @@ function eql() { (4).should.eql(3, 'blah'); } -class Buffer { - constructor(arr: number[]) { - } -} function buffer() { expect(new Buffer([1])).to.eql(new Buffer([1])); (new Buffer([1])).should.eql(new Buffer([1])); diff --git a/types/chai/tslint.json b/types/chai/tslint.json index 7082cc4bbc..043173f36d 100644 --- a/types/chai/tslint.json +++ b/types/chai/tslint.json @@ -9,7 +9,6 @@ "no-empty-interface": false, "no-inferrable-types": false, "no-redundant-jsdoc-2": false, - "no-unnecessary-class": false, "no-unnecessary-generics": false, "prefer-const": false, "strict-export-declare-modifiers": false