Skip to content

Commit fd9d127

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

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(context?: any, needRawText?: boolean, password?: string);
4+
constructor(context?: any, needRawText?: number, password?: string);
55
parseBuffer(buffer: Buffer): void;
66
loadPDF(pdfFilePath: string, verbosity?: number):Promise<void>
77
createParserStream():ParserStream

0 commit comments

Comments
 (0)