Companion app type (#3899)

* fix companion app type

fixes #3862

* remove unnecessary ts-ignores

* Revert "remove unnecessary ts-ignores"

This reverts commit 76ee67dc94.
This commit is contained in:
Mikael Finstad 2022-07-25 19:52:48 +08:00 committed by GitHub
parent 2d2ac377e9
commit 710c0253b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 })
}