Types are no lonnger exported from the NPM package
mwskwong opened this issue · comments
Matthew Kwong commented
After installing the latest version, observe the content of dist/index.d.ts
. The only export is rehypePrettyCode()
all the types are still present but are no longer exported.
Maxwell Weru commented
Seen the same behaviour in version 0.12.4
. Relates to the move to tsup/esbuild.
Adding export * from './types
to src/index.ts
should solve this.
@atomiks are you accepting PRs for this?
atomiks commented
Sorry! Yes @mburumaxwell feel free