From ccb07b13e172a2e1a77185e7c045b0b66243c105 Mon Sep 17 00:00:00 2001 From: Seong Min Park <32555977+notoriousmango@users.noreply.github.com> Date: Tue, 8 Dec 2020 08:03:24 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#49589=20Added=20PD?= =?UTF-8?q?FPageProxy#getPermissions=20by=20@notoriousmango?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added PDFPageProxy#getPermissions * Update index.d.ts * Update index.d.ts --- types/pdfjs-dist/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/pdfjs-dist/index.d.ts b/types/pdfjs-dist/index.d.ts index fac4e0a2e0..45c4900222 100644 --- a/types/pdfjs-dist/index.d.ts +++ b/types/pdfjs-dist/index.d.ts @@ -290,6 +290,11 @@ interface PDFDocumentProxy { **/ getOutline(): PDFPromise; + /** + * A promise that is resolved with an array that contains the permission flags for the PDF document. + **/ + getPermissions(): PDFPromise; + /** * A promise that is resolved with the info and metadata of the PDF. **/