From 310ffa955e08105852078d60139b4e5a0a63f4bd Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 15 Dec 2017 11:40:39 +0900 Subject: [PATCH] cleanup ignore lint error: callable-types --- types/vinyl-buffer/index.d.ts | 4 +--- types/vinyl-buffer/tslint.json | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/types/vinyl-buffer/index.d.ts b/types/vinyl-buffer/index.d.ts index bdda31817c..949efd20cc 100644 --- a/types/vinyl-buffer/index.d.ts +++ b/types/vinyl-buffer/index.d.ts @@ -6,9 +6,7 @@ /// declare namespace buffer { - interface Buffer { - (): NodeJS.ReadWriteStream; - } + type Buffer = () => NodeJS.ReadWriteStream; } declare var buffer: buffer.Buffer; diff --git a/types/vinyl-buffer/tslint.json b/types/vinyl-buffer/tslint.json index a4bcc87748..3db14f85ea 100644 --- a/types/vinyl-buffer/tslint.json +++ b/types/vinyl-buffer/tslint.json @@ -1,6 +1 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - "callable-types": false - } -} +{ "extends": "dtslint/dt.json" }