-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
auto-generatedAutomatically generated contentAutomatically generated contentclaude-codeItems created or modified by Claude CodeItems created or modified by Claude Code
Description
Currently we have a custom JSDoc type setup and was created before typescript supported JSDoc types natively. It's about time we modernize this 😅
We need to refactor how the types get emitted to just using regular TypeScripts and emit out the file.
Also, while you're at it, we need to check out the doc types and verify that everything is correct.
So all the code will remain JS but be types with JSDocs. Start with the types in core https://github.com/DavidWells/analytics/tree/master/packages/analytics-core/src
The "types": "../../node_modules/.bin/jsdoc -t ../../node_modules/tsd-jsdoc/dist -r ./src/ -d _temp-types && node scripts/types.js", is ollllddddd and clunky.
Thanks @claude
Metadata
Metadata
Assignees
Labels
auto-generatedAutomatically generated contentAutomatically generated contentclaude-codeItems created or modified by Claude CodeItems created or modified by Claude Code