Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantxu committed Feb 2, 2024
1 parent 0813516 commit 35213cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/browser/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ export function getPDFOptionsFromURL(url: string): puppeteer.PDFOptions {
omitBackground: urlParams.get('pdf.omitBackground') !== 'false', // defaults true,
printBackground: urlParams.get('pdf.printBackground') === 'true',
pageRanges: urlParams.get('pdf.pageRanges') ?? undefined,
tagged: urlParams.get('pdf.tagged') === 'true',
};
}

0 comments on commit 35213cc

Please sign in to comment.