CanopyTax / kremling

Embarrassingly simple css for React
https://kremling.js.org
Apache License 2.0
36 stars 4 forks source link

TypeScript: Module has no exported member 'Scoped'. #40

Closed sand-head closed 4 years ago

sand-head commented 4 years ago

Trying to use this library and its loader in a TypeScript project. My root component is a class component, so as per the Kremling docs, I'm attempting to import and use the <Scoped> tag. However, it seems like it isn't defined in Kremling's definitions file, so TypeScript is unable to confirm it exists.

joeldenning commented 4 years ago

I confirmed that Scoped does not exist in https://github.com/CanopyTax/kremling/blob/master/src/kremling.d.ts. Would you be willing to create a pull request to fix this?

sand-head commented 4 years ago

Yeah, sure thing.

joeldenning commented 4 years ago

Resolved in #41 and published in https://github.com/CanopyTax/kremling/releases/tag/v2.0.2