How do I get the design system to work with TypeScript a little?

Hi!

By the looks of your GitHub, the entire design system is written in TypeScript. But the types don’t seem to be available for developer use, or am I missing something?

The plugin generator adds:

declare module "@strapi/design-system/*";
declare module "@strapi/design-system";

Causing all imports to just be any

Is there some type library that I need to install that I can’t find?

This topic has been created from a Discord post (1264522112257757184) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like

Found out how to install the typescript versions through a different question. Leaving this thread open for the devs to see, though :slightly_smiling_face: I think some documentation would be nice here :heart:

1 Like