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

TypeScript compiler throw error because @param tag in JSDoc doesn't match with actual param at encode method #148

Closed
thanhtran-ct opened this issue Feb 20, 2023 · 1 comment

Comments

@thanhtran-ct
Copy link

thanhtran-ct commented Feb 20, 2023

TypeScript compiler throw error because @param tag in JSDoc doesn't match with actual param at encode method.

node_modules/cookie/index.js:236:20 - error TS8024: JSDoc '@param' tag has name 'str', but there is no parameter with that name.

236  * @param {string} str

ts.config.json

{
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true
  }
}
@dougwilson
Copy link
Contributor

Thanks for the report; this will be fixed in version 0.6.0

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

No branches or pull requests

2 participants