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
Error: app/components/CopyableCode.tsx(9,41): error TS7016: Could not find a declaration file for module '@trussworks/react-uswds'. '/home/runner/work/gcn.nasa.gov/gcn.nasa.gov/node_modules/@trussworks/react-uswds/lib/index.js' implicitly has an 'any' type.
[5](https://github.com/tachgsfc/gcn.nasa.gov/runs/6163692157?check_suite_focus=true#step:6:5)
Try `npm i --save-dev @types/trussworks__react-uswds` if it exists or add a new declaration (.d.ts) file containing `declare module '@trussworks/react-uswds';`
[6](https://github.com/tachgsfc/gcn.nasa.gov/runs/6163692157?check_suite_focus=true#step:6:6)
Expected behavior
react-uswds should ship an index.d.ts file.
Screenshots
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
The text was updated successfully, but these errors were encountered:
### [3.0.2](3.0.1...3.0.2) (2022-05-13)
### Bug Fixes
* Fixes an issue where Type definitions were not properly packaged ([#2053](#2053)) ([febcd65](febcd65))
ReactUSWDS Version & USWDS Version:
@trussworks/[email protected]
,[email protected]
Describe the bug
react-uswds 3.0.0 no longer ships a .d.ts file, so it cannot be used in strict TypeScript projects.
To Reproduce
See https://github.com/tachgsfc/gcn.nasa.gov/runs/6163692157?check_suite_focus=true. Error message:
Expected behavior
react-uswds should ship an index.d.ts file.
Screenshots
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
The text was updated successfully, but these errors were encountered: