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

@react-pdf/[email protected] not working at all! #3088

Open
jgo80 opened this issue Feb 19, 2025 · 1 comment
Open

@react-pdf/[email protected] not working at all! #3088

jgo80 opened this issue Feb 19, 2025 · 1 comment

Comments

@jgo80
Copy link

jgo80 commented Feb 19, 2025

Describe the bug
Unfortunately all kind of types are not working anymore.

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

import { BulkLoad } from '@react-pdf/types'; // Module '"@react-pdf/types"' has no exported member 'BulkLoad'
import { Font } from '@react-pdf/renderer'; // exports const Font: FontStore

Font.register({}) // method Font.register refers to "any"

You can make use of react-pdf REPL to share the snippet

Expected behavior
Make the types work again

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

@airjp73
Copy link

airjp73 commented Feb 20, 2025

It looks like this is fixed in the code via this commit, so theoretically we just need a release with that fix.

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

No branches or pull requests

2 participants