-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing types #54
Conversation
The problem is that the d.ts files are generated from the source code (jsdoc). So you can't modify the d.ts files directly. We should fix them in jsdoc. moleculer-channels/package.json Line 9 in 2ddbb9d
|
You are right I just did a new commit to fix it within the JS code |
@@ -67,7 +67,7 @@ const C = require("./constants"); | |||
* @param {MiddlewareOptions} mwOpts | |||
* @returns Middleware | |||
*/ | |||
module.exports = function ChannelsMiddleware(mwOpts) { | |||
module.exports.default = function ChannelsMiddleware(mwOpts) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will cause breaking change.
This PR contains many non-relevant changes. Please create a new one only with the relevant changes. |
Linked to this issue #53