-
-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help
Description
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
- @ts-ignore given that I just pass the module to a plugins list
- use inline
require
I'd be happy to help with a PR to add the types, following other examples!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help