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

OnProgressParameters isn't exported on pdf.d.ts #15828

Closed
robmv opened this issue Dec 14, 2022 · 0 comments · Fixed by #15832
Closed

OnProgressParameters isn't exported on pdf.d.ts #15828

robmv opened this issue Dec 14, 2022 · 0 comments · Fixed by #15832
Labels

Comments

@robmv
Copy link

robmv commented Dec 14, 2022

Other PDFDocumentLoadingTask callbacks have their corresponding parameters types exported like PasswordResponses and UNSUPPORTED_FEATURES but not OnProgressParameters.

OnProgressParameters should be exported as is part of the API exposed by PDFDocumentLoadingTask.

By the way, PDFDocumentLoadingTask callbacks are using a Function signature without defining the parameter type. I think it should be added but don't know the reason it wasn't. Do other languages beside TypeScript consume the type files and don't understand a better signature?

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