-
-
Notifications
You must be signed in to change notification settings - Fork 19
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 definitions #15
Comments
We are currently adding types gradually, and your help is appreciated. You can see some examples of types being added in More recently there has been a push to get types generated from JSDoc Either works, and a PR would be welcome! Closing this issue as we don't want to keep a types tracker issue in each of the 300+ unified repos. |
Subject of the feature
I'm using rehype-highlight with frameworks like nextjs and remix.run, and when importing the package, I get missing errors on missing type definitions when using TS.
Problem
TS linters error with
Could not find a declaration file for module 'rehype-highlight'.
. Not a huge problem--I see other packages in the org have their types defined.Expected behavior
I should be able to
import highlight from "rehype-highlight"
without linter errors on TS.Alternatives
require
I'd be happy to help with a PR to add the types, following other examples!
The text was updated successfully, but these errors were encountered: