profile
viewpoint

Ask questionsGenerate Typescript and Flow type definitions from existing prop-types.

Are there any plans on providing Typescript type definitions ?

salesforce/design-system-react

Answer questions xoob

We are adding .d.ts files for the existing library. Our work utilizes tsc with allowJs and checkJs, and KnisterPeter/react-to-typescript-definitions. The goal is to be able to import the library into TypeScript projects and get code completion, strict validation, and no import errors, while trying to keep the changes to the library as minimal as possible.

useful!

Related questions

Detect if canvas exists before calling Browser canvas hot 1
Github User Rank List