提交 63e3162b 编写于 作者: M Matt Bierner

Switch to use `@types` for pump

上级 38fbec95
declare module 'pump' {
function f(
str1:NodeJS.WritableStream,
str2:NodeJS.WritableStream,
str3:NodeJS.WritableStream,
str4:NodeJS.WritableStream,
str5:NodeJS.WritableStream,
str6:NodeJS.WritableStream,
str7:NodeJS.WritableStream,
str8:NodeJS.WritableStream,
str9:NodeJS.WritableStream,
str10:NodeJS.WritableStream,
cb:(err:any)=>void
): NodeJS.WritableStream;
/**
* This is required as per:
* https://github.com/Microsoft/TypeScript/issues/5073
*/
namespace f {}
export = f;
}
\ No newline at end of file
......@@ -19,6 +19,7 @@
"@types/mime": "0.0.29",
"@types/minimatch": "^2.0.29",
"@types/node": "8.0.33",
"@types/pump": "^1.0.1",
"@types/request": "^2.47.0",
"@types/rimraf": "^2.0.2",
"@types/through": "^0.0.29",
......
......@@ -168,6 +168,13 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.33.tgz#1126e94374014e54478092830704f6ea89df04cd"
integrity sha512-vmCdO8Bm1ExT+FWfC9sd9r4jwqM7o97gGy2WBshkkXbf/2nLAJQUrZfIhw27yVOtLUev6kSZc4cav/46KbDd8A==
"@types/pump@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@types/pump/-/pump-1.0.1.tgz#ae8157cefef04d1a4d24c1cc91d403c2f5da5cd0"
integrity sha1-roFXzv7wTRpNJMHMkdQDwvXaXNA=
dependencies:
"@types/node" "*"
"@types/request@^2.47.0":
version "2.47.0"
resolved "https://registry.yarnpkg.com/@types/request/-/request-2.47.0.tgz#76a666cee4cb85dcffea6cd4645227926d9e114e"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册