We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Running npm run docs gives an error for generating certain types, namely userLIstObject.
To Reproduce Steps to reproduce the behavior:
Expected behavior JSDoc is generated without errors
The text was updated successfully, but these errors were encountered:
Was able to clear one error for session-core by correcting the typing from Array[userListObject] either userListObject[] or Array.
Array feels more intuitive, but userListObject[] appears cleaner. Might use userListObject[] for the fix.
Sorry, something went wrong.
Fixed issue by adding a dedicated types.d.ts file to assist typedefs.js in typing. Namely, I've added a type for useState:
useState = [T, React.Dispatch]
This will take in the state for T and the setState dispatch function for T
Issue resolved as of PR #100. Closing issue.
No branches or pull requests
Describe the bug
Running npm run docs gives an error for generating certain types, namely userLIstObject.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
JSDoc is generated without errors
The text was updated successfully, but these errors were encountered: