Fix PDFPageProxy property getter types in pdf.d.ts

`pageNumber`, `rotate`, `ref`, and `view` are property getters, not functions.

Resolves #6726
This commit is contained in:
Eric Winkelmann
2015-12-12 19:26:28 -08:00
parent f8af639bf2
commit de5a50a5f3
+4 -4
View File
@@ -221,22 +221,22 @@ interface PDFPageProxy {
/**
* Page number of the page. First page is 1.
**/
pageNumber(): number;
pageNumber: number;
/**
* The number of degrees the page is rotated clockwise.
**/
rotate(): number;
rotate: number;
/**
* The reference that points to this page.
**/
ref(): PDFRef;
ref: PDFRef;
/**
* @return An array of the visible portion of the PDF page in the user space units - [x1, y1, x2, y2].
**/
view(): number[];
view: number[];
/**
* @param scale The desired scale of the viewport.