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

Fix types of output func #3119

Merged
merged 2 commits into from Mar 29, 2021
Merged

Fix types of output func #3119

merged 2 commits into from Mar 29, 2021

Conversation

kitadakyou
Copy link
Contributor

Fixed #3115

Copy link
Collaborator

@HackbrettXXX HackbrettXXX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR :)

types/index.d.ts Outdated
Comment on lines 784 to 788
type: "pdfobjectnewwindow" | "pdfjsnewwindow"
): Window;
output(
type: "dataurlnewwindow",
options?: { filename?: string }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pdfobjectnewwindow and pdfjsnewwindow also accept the options object.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HackbrettXXX
Thanks!
I fixed the options object.

Copy link
Collaborator

@HackbrettXXX HackbrettXXX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes. I'll merge it.

@HackbrettXXX HackbrettXXX merged commit e988a04 into parallax:master Mar 29, 2021
sthagen added a commit to sthagen/parallax-jsPDF that referenced this pull request Mar 29, 2021
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

Successfully merging this pull request may close these issues.

Wrong typescript config on output with dataurlnewwindow
2 participants