Skip to content

Commit

Permalink
Companion app type (#3899)
Browse files Browse the repository at this point in the history
* fix companion app type

fixes #3862

* remove unnecessary ts-ignores

* Revert "remove unnecessary ts-ignores"

This reverts commit 76ee67d.
  • Loading branch information
mifi committed Jul 25, 2022
1 parent 2d2ac37 commit 710c025
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 710c025

Please sign in to comment.