azu / azu/babel-plugin-jsdoc-to-assert
Optional params should be type checked if defined
Open
Patch Welcome
- Dominant language
- JavaScript
- Stars
- 55
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I think optional params should be type checked if defined:
https://github.com/azu/babel-plugin-jsdoc-to-assert/blob/1b001e993a6086ec01305fc310283ddf3273c92b/test/fixtures/multiple-comments/expected.js#L9
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting test/fixtures/multiple-comments/expected.js at line 9 and trace the plugin entry point that produces this fixture. Done means defined optional parameters receive runtime type checking while omitted parameters remain optional, with the fixture output updated accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100