Skip to content
New issue

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

Update USWDS typings to incorporate corrections #416

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

aduth
Copy link
Contributor

@aduth aduth commented Mar 2, 2024

🛠 Summary of changes

Updates @types/uswds__uswds to the latest version to avoid needing to patch corrections for incorrect types, which are now fixed upstream.

This is a follow-up to #413 (comment)

📜 Testing Plan

npm run typecheck

@aduth aduth mentioned this pull request Mar 4, 2024
export const table: typeof baseTable & BaseComponent;
export const tooltip: Tooltip;
export const validator: typeof baseValidator & BaseComponent;
export * from '@uswds/uswds/js';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much simpler, glad this worked!

@aduth aduth merged commit 07728c7 into main Mar 6, 2024
4 checks passed
@aduth aduth deleted the aduth-uswds-typings branch March 6, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants