Skip to content

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