Skip to content

Commit

Permalink
Merge pull request #322 from tim-we/document-size-properties
Browse files Browse the repository at this point in the history
Add types for document size properties
  • Loading branch information
rkusa authored Dec 27, 2023
2 parents 0dad900 + 6b5ddf7 commit 80d4431
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 80d4431

Please sign in to comment.