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

Bad typing for argument rotation of PDFPageView.update #16359

Closed
SebCorbin opened this issue Apr 27, 2023 · 2 comments · Fixed by #16362
Closed

Bad typing for argument rotation of PDFPageView.update #16359

SebCorbin opened this issue Apr 27, 2023 · 2 comments · Fixed by #16362
Labels

Comments

@SebCorbin
Copy link
Contributor

PDF.js version: 3.5.141

The type of rotation property in argument of PDFPageView.update is marked as null | undefined but it should be number | undefined

@Snuffleupagus
Copy link
Collaborator

Basically, #16307 (comment) applies here as well.

@SebCorbin
Copy link
Contributor Author

SebCorbin commented Apr 27, 2023

@Snuffleupagus great, I contributed some JSdoc changes for the linked issues.

As a side note, I successfully wrote a viewer (with annotation editing) in Vue using only types and source code as documentation, I must be say thanks to all maintainers!

SebCorbin added a commit to SebCorbin/pdf.js that referenced this issue Apr 28, 2023
@Snuffleupagus Snuffleupagus linked a pull request Apr 28, 2023 that will close this issue
Snuffleupagus added a commit that referenced this issue Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants