Skip to content

Commit

Permalink
fix(dts): replace stream property with toStream method (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Mar 9, 2020
1 parent d9134cd commit bf9f486
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare interface File {
/** Location of the uploaded file */
readonly path: string;
/** A Stream of the entire file */
readonly stream: Readable;
toStream(): Readable;
}

declare interface MulterOptions {
Expand Down
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"dependencies": {
"append-field": "^1.0.0",
"busboy": "^0.3.1",
"fs-capacitor": "^6.1.0",
"fs-temp": "^1.1.1",
"on-finished": "^2.3.0",
"pify": "^4.0.1",
Expand Down

0 comments on commit bf9f486

Please sign in to comment.