Skip to content

Commit

Permalink
Add types for document size
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-we committed Dec 5, 2023
1 parent b6cdd70 commit 6b5ddf7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ declare module "pdfjs" {
*/
info: DocumentProperties & { id: string };

/**
* The documents width.
*/
width: number;

/**
* The documents height.
*/
height: number;

/**
* Document is a Readable stream and can therefore piped into other streams
* @param dest destination
Expand Down

0 comments on commit 6b5ddf7

Please sign in to comment.