Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
package.json
Outdated
| "@types/react": "^19", | ||
| "@types/react-dom": "^19" |
There was a problem hiding this comment.
Added these to fix TS errors because Docusaurus uses older @types/react version which has JSX.Element as component type.
There was a problem hiding this comment.
Pull request overview
This PR addresses missing component description rendering in the design-system website by improving how Typedoc comment summaries are discovered, alongside dependency/type resolution updates to keep React typings consistent across the workspace.
Changes:
- Update
ComponentDescriptionto fall back to signature-level comments when declaration-level comments are missing. - Add workspace-level
resolutionsfor@types/reactand@types/react-dom. - Refresh
yarn.lockand bump@types/reactin the design-system package.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
yarn.lock |
Lockfile updates reflecting updated/normalized dependency graph and React type alignment. |
package.json |
Adds root-level resolutions for React type packages. |
@stellar/design-system/package.json |
Bumps @types/react devDependency patch version. |
@stellar/design-system-website/src/components/ComponentDescription/index.tsx |
Fixes description lookup by using declaration or signature comments. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Preview is available here: |
1 similar comment
|
Preview is available here: |
No description provided.