From 0362279dc649eacd7e896e40206a469567bf8a4b Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 8 Dec 2017 11:42:41 +0900 Subject: [PATCH] cleanup ignore lint error: no-inferrable-types --- types/minimatch/minimatch-tests.ts | 2 +- types/minimatch/tslint.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/types/minimatch/minimatch-tests.ts b/types/minimatch/minimatch-tests.ts index def9a43310..9ec0afbf19 100644 --- a/types/minimatch/minimatch-tests.ts +++ b/types/minimatch/minimatch-tests.ts @@ -12,6 +12,6 @@ mm.match(f, pattern, options); f.filter(mm.filter(pattern, options)); -let s: string = "hello"; +let s = "hello"; b = mm(s, pattern, options); b = mm(s, pattern); diff --git a/types/minimatch/tslint.json b/types/minimatch/tslint.json index d3e917b578..63bd9786f2 100644 --- a/types/minimatch/tslint.json +++ b/types/minimatch/tslint.json @@ -3,7 +3,6 @@ "rules": { "interface-name": false, "no-duplicate-variable": false, - "no-inferrable-types": false, "no-redundant-jsdoc-2": false, "prefer-const": false }