From 8f627efc6476dd4ef9e7cd3addbc6af436237bff Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 24 Nov 2017 09:52:18 +0900 Subject: [PATCH] Cleanup lint ignore error: callable-types --- types/ejs/index.d.ts | 4 +--- types/ejs/tslint.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/types/ejs/index.d.ts b/types/ejs/index.d.ts index c1c1969be3..5a52399e17 100644 --- a/types/ejs/index.d.ts +++ b/types/ejs/index.d.ts @@ -19,9 +19,7 @@ declare namespace Ejs { function clearCache(): any; - interface TemplateFunction { - (data: Data): any; - } + type TemplateFunction = (data: Data) => any; interface Options { cache?: any; filename?: string; diff --git a/types/ejs/tslint.json b/types/ejs/tslint.json index d01f83708a..001a94fd06 100644 --- a/types/ejs/tslint.json +++ b/types/ejs/tslint.json @@ -1,7 +1,6 @@ { "extends": "dtslint/dt.json", "rules": { - "callable-types": false, "export-just-namespace": false, "interface-over-type-literal": false, "no-var-keyword": false,