design-system-components
design-system-components copied to clipboard
Create TypeScript definitions for React components
The first thing we can do initially is to write and ship definition file for only the
react.js
components. This involves creating a definition file likeindex.d.ts
and updating the build output oflib/
and then referencinglib/types/index.d.ts
in ourpackage.json
.
Originally posted by @adamzerella in https://github.com/govau/design-system-components/issues/741#issuecomment-488876978