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
* Adding types for design tokens
Generating a tokens.d.ts file for TypeScript support in applications. It
turns out that TypeScipt can infer types from exports that have
primative types, so we are just generating a duplicate of tokens.js with
a `.d.ts` extension and identifying it as `types` in package.json.
fixes#109
* README update
What
Add types for JS tokens. See amzn/style-dictionary#425 (comment) for an example of how we can generate type files.
Why
Since we will be using the tokens in TS files, we need a type declaration file for the JS tokens.
The text was updated successfully, but these errors were encountered: