From a9b2387bce0ff711a7c3543e705e91b9dbad2c1e Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 24 Nov 2017 10:01:17 +0900 Subject: [PATCH] Cleanup lint ignore error: interface-over-type-literal --- types/ejs/index.d.ts | 4 +++- types/ejs/tslint.json | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/ejs/index.d.ts b/types/ejs/index.d.ts index 0fade248a9..b7a8c6a191 100644 --- a/types/ejs/index.d.ts +++ b/types/ejs/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Ben Liddicott // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export type Data = { [name: string]: any }; +export interface Data { + [name: string]: any; +} export type Dependencies = string[]; export let cache: Cache; export let localsName: string; diff --git a/types/ejs/tslint.json b/types/ejs/tslint.json index a3126dd180..ffc654f941 100644 --- a/types/ejs/tslint.json +++ b/types/ejs/tslint.json @@ -1,7 +1,6 @@ { "extends": "dtslint/dt.json", "rules": { - "interface-over-type-literal": false, "object-literal-shorthand": false, "unified-signatures": false }