Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

TypeScript support #269

Open
dgsunesen opened this issue Apr 16, 2018 · 1 comment
Open

TypeScript support #269

dgsunesen opened this issue Apr 16, 2018 · 1 comment

Comments

@dgsunesen
Copy link

Hi all,

First on foremost: awesome work!

Is there any change that this will be compatible with TypeScript? Right now I'm seeing errors like "styledComponents.withTheme is not a function".. If I explicitly export the withTheme method, I will get errors like "cannot read property of undefined" in e.g. the elevation.js file.

Does anyone have any clue how to get this to work? Am I missing somthing?

@dgsunesen dgsunesen changed the title Typescript support TypeScript support Apr 16, 2018
@martahj
Copy link
Contributor

martahj commented Apr 17, 2018

While we'd like to support TypeScript eventually, it's not a priority in the near-medium term while we're still building out many of the basic components. Sorry for the inconvenience.

What does your code look like? I'd be happy to take a look and see if I can replicate the issue, in case something more than a TypeScript incompatibility is going on.

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

2 participants