Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Nov 8, 2022
1 parent e9ce7f2 commit 7933b16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions lib/multipart.js

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

5 changes: 2 additions & 3 deletions lib/stripe.js

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

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const utils = {
* Determine if file data is a derivative of EventEmitter class.
* https://nodejs.org/api/events.html#events_events
*/
checkForStream: (obj) => {
checkForStream: (obj): boolean => {
if (obj.file && obj.file.data) {
return obj.file.data instanceof EventEmitter;
}
Expand Down

0 comments on commit 7933b16

Please sign in to comment.