mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Cleanup ignore lint error: no-inferrable-types
This commit is contained in:
@@ -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`');
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user