Skip to content

Any plans on using TypeScript? #16

Answered by Robbert
JeroenReumkens asked this question in Q&A
Discussion options

You must be logged in to vote

We do currently expect it will be essential for adoption in certain stacks to provide TypeScript definitions for the components in their npm packages, so using TypeScript to that extent is certain.

Using TypeScript for the implementation of all components is not on our radar yet, but I think contributed components in TypeScript could very well exist alongside ES Module components.

Using TypeScript also slightly complicates the setup of testing with Jest, if I recall correctly.

Once we have the first TypeScript contribution, we would need to make an effort to make the tsconfig.json scale to many packages and have a very strict configuration right off the bat ("noImplicitAny": true).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Yolijn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16 on December 15, 2020 12:06.