[metadata] fix incorrect metadata & tslint ignores (#18653)

This commit is contained in:
Dimitri Benin
2017-08-08 21:20:15 +02:00
committed by Mohamed Hegazy
parent e8ff5620d6
commit 4b5aedb84c
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ declare namespace got {
(url: GotUrl, options: GotBodyOptions<string>): GotPromise<string>;
(url: GotUrl, options: GotBodyOptions<null>): GotPromise<Buffer>;
}
// tslint:disable unified-signatures
// tslint:enable unified-signatures
type GotStreamFn = (url: GotUrl, options?: GotOptions<string | null>) => GotEmitter & nodeStream.Duplex;

View File

@@ -1,6 +1,6 @@
// Type definitions for p-any 1.1
// Project: https://github.com/sindresorhus/p-any#readme
// Definitions by: My Self <https://github.com/me>
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import AggregateErrorModule = require('aggregate-error');