Skip to content

Commit

Permalink
fix companion app type
Browse files Browse the repository at this point in the history
fixes #3862
  • Loading branch information
mifi committed Jul 25, 2022
1 parent 2d2ac37 commit 9be7db5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/@uppy/companion/src/companion.js
Expand Up @@ -156,8 +156,5 @@ module.exports.app = (optionsArg = {}) => {
processId,
})

// todo split emitter from app in next major
// @ts-ignore
app.companionEmitter = emitter
return app
return Object.assign(app, { companionEmitter: emitter })
}

0 comments on commit 9be7db5

Please sign in to comment.