Skip to content

Commit 7440955

Browse files
tuffstuff9modesty
authored andcommitted
Update pdfparser.d.ts
Update PDFParser constructor with typed parameters
1 parent 8c1d881 commit 7440955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdfparser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {EventEmitter} from "events";
22

33
declare class Pdfparser extends EventEmitter{
4-
constructor();
4+
constructor(context?: any, needRawText?: boolean, password?: string);
55
parseBuffer(buffer: Buffer): void;
66
loadPDF(pdfFilePath: string, verbosity?: number):Promise<void>
77
createParserStream():ParserStream

0 commit comments

Comments
 (0)