Is it possible to write component and index templates with Typescript? #823
-
💬 Questions and HelpSVGR has been super helpful to us, thanks for your excellent work! One thing I'm stuck on: I'd like to use Typescript to write my component and index templates, mainly so I can take advantage of type information from Babel. (I'm doing some manipulations of Is there any way to write the component template as an ESM module so that I can import type information? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @tinder-darraghburke, yes it is possible using |
Beta Was this translation helpful? Give feedback.
Hello @tinder-darraghburke, yes it is possible using
--ext ts
and--index-template
.