* fix companion app type fixes #3862 * remove unnecessary ts-ignores * Revert "remove unnecessary ts-ignores" This reverts commit 76ee67dc943b09bc4aaccdfc07fa039778f938ba.
@@ -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 })
}