mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 19:45:48 +08:00
cleanup ignore lint error: callable-types
This commit is contained in:
4
types/vinyl-buffer/index.d.ts
vendored
4
types/vinyl-buffer/index.d.ts
vendored
@@ -6,9 +6,7 @@
|
||||
/// <reference types="node" />
|
||||
|
||||
declare namespace buffer {
|
||||
interface Buffer {
|
||||
(): NodeJS.ReadWriteStream;
|
||||
}
|
||||
type Buffer = () => NodeJS.ReadWriteStream;
|
||||
}
|
||||
|
||||
declare var buffer: buffer.Buffer;
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"callable-types": false
|
||||
}
|
||||
}
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
|
||||
Reference in New Issue
Block a user