Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Conversation

devcitopia
Copy link

Linked to this issue #53

@devcitopia devcitopia mentioned this pull request Dec 30, 2022
4 tasks
@icebob
Copy link
Member

icebob commented Jan 2, 2023

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.

"types": "tsc --emitDeclarationOnly true --noEmitOnError false",

@devcitopia
Copy link
Author

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) {
Copy link
Member

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.

@icebob
Copy link
Member

icebob commented Aug 6, 2023

This PR contains many non-relevant changes. Please create a new one only with the relevant changes.

@icebob icebob closed this Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants