-
-
Notifications
You must be signed in to change notification settings - Fork 75
postcss-color-functional-notation doesn't expose TS types for CJS export #1217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @shellscape, for context : #1031 (comment) Is this something that worked before and is giving an error now or is this a new feature request?
We do not have types for |
First time that I've used the plugin, so it's a new issue for me. FWIW if generating types is painful, take a look at tsup which has no issue generating types for both ES and CJS. (I use that with jsx-email successfully and happens to be the project that I'm using this plugin in) |
On Going forward we will slowly but surely start moving to pure es modules. So we will also favor es modules for things like types. I will not personally spend further time on trying to get working types for |
Hang on a sec - the tool looks a bit scary so it wasn't evaluated, and was dismissed as not an option? From one maintainer to another; that's a terrible signal to users and contributors alike. |
Any serious effort that solves all issues in a way that is maintainable long term is more than welcome. I have serious concerns about I am not going to stick to past judgements. |
Closing this as we will not proactively work on this. Happy to re-open if someone is willing to volunteer their time. |
As can be seen here:
postcss-plugins/plugins/postcss-color-functional-notation/package.json
Line 30 in d964fa8
types
is omitted for the CJS/require export. Thats incorrect, and as a result any project importing the package results in TS not being able to resolve the types.The text was updated successfully, but these errors were encountered: