Closed arvigeus closed 5 years ago
I don't use TS and don't plan on adding support for it while this is in beta – I think you might be able to use a TS webpack loader with a custom config though YMMV
@arvigeus as a quick hack: you could import from the compiled .js
from your dist
or build
folder e.g.
import { Button } from '../dist/Button'
Just want to re-up this and see if ya'll are interested in adding Typescript support.
I tried to import a tsx/ts component, it didn't work, and couldn't figure out how to make it work. Do you think this should be supported by default?