You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(tsdoc): fixed some tsdoc annotations and styling
This fixed:
- `@return` must be `@returns`
- `@param {name} {description}` must be `@param {name} - {description}`
- `@typeparam {name} {description}` must be `@typeParam {name} - {description}`
- `@default` must be `@defaultValue {value}` (with backticks around value)
- `@private` must be `@internal`
- `>` must be > or in a code block
- inline code blocks must not wrap lines
This partially fixed:
- some cases where I use markdown links instead of `{@link href|name}`
Still remaining:
- change `@since` tag to something else (nothing exists yet)
- fix `Tabs` with how the ids work
- fix generate code about @react-md/dev-utils since it needs to be \@react-md/dev-utils
- fix remaining invalid link usage
- need to verify `@see` usage
- need to verify `{@link}` usage
- might be able to use `{@inheritdoc}` for some of these
- updated eslint to use eslint-plugin-tsdoc or upgrade @mlaursen/eslint-config
- fix `Example:` places to be `@example`.
- eventually should update all public exports to be documented correctly
Reference: https://tsdoc.org/
0 commit comments