Skip to content
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

typescript support ? #577

Open
TheElegantCoding opened this issue Nov 10, 2023 · 1 comment
Open

typescript support ? #577

TheElegantCoding opened this issue Nov 10, 2023 · 1 comment

Comments

@TheElegantCoding
Copy link

TheElegantCoding commented Nov 10, 2023

I am trying to run critical CSS in a typescript project and i cant unfortunately

Could not find a declaration file for module 'critical'.

Try npm i --save-dev @types/critical

is there not typescript support for this library?

@bezoerb
Copy link
Collaborator

bezoerb commented Nov 12, 2023

Hey @AesthetiCoder,

I'm sorry but we don't export typescript types at the moment and there are also no types for critical in @types

I guess we could provide types at some point but i'm quite busy currently so i don't know when i find some time for this.
You can draft a PR if you like to

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

No branches or pull requests

2 participants