Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Typescript support? #28

Closed
arvigeus opened this issue Dec 2, 2018 · 3 comments
Closed

Typescript support? #28

arvigeus opened this issue Dec 2, 2018 · 3 comments

Comments

@arvigeus
Copy link

arvigeus commented Dec 2, 2018

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?

@jxnblk
Copy link
Owner

jxnblk commented Dec 4, 2018

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

@eeegor
Copy link

eeegor commented Mar 13, 2019

@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'

@holic
Copy link

holic commented Mar 29, 2021

Just want to re-up this and see if ya'll are interested in adding Typescript support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants