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" }