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
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
I would like to import Auro tokens into server-side rendered components written in TypeScript.
Here is the syntax I would like to use: import {DsColorBackgroundPrimary100Default} from '@aurodesignsystem/design-tokens/dist/tokens/JSData--color';
But instead of using JSData--color, it would be nice to use TSData--color instead.
When I try importing JSData--color, I get the following compilation error:
Could not find a declaration file for module '@aurodesignsystem/design-tokens/dist/tokens/JSVariables--color.js'. '[my project]/node_modules/@aurodesignsystem/design-tokens/dist/tokens/JSVariables--color.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/aurodesignsystem__design-tokens` if it exists or add a new declaration (.d.ts) file containing `declare module '@aurodesignsystem/design-tokens/dist/tokens/JSVariables--color.js';`
Describe alternatives you've considered
No response
Additional context
No response
Exit criteria
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
I would like to import Auro tokens into server-side rendered components written in TypeScript.
Here is the syntax I would like to use:
import {DsColorBackgroundPrimary100Default} from '@aurodesignsystem/design-tokens/dist/tokens/JSData--color';
But instead of using
JSData--color
, it would be nice to useTSData--color
instead.When I try importing
JSData--color
, I get the following compilation error:Describe alternatives you've considered
No response
Additional context
No response
Exit criteria
No response
The text was updated successfully, but these errors were encountered: