This commit is contained in:
parent
7e82ac91a7
commit
78b33639c5
8
index.d.ts
vendored
8
index.d.ts
vendored
@ -487,14 +487,14 @@ interface PdfPackage {
|
||||
* @returns []byte of new pdf data
|
||||
*/
|
||||
cpu(
|
||||
command: "watermark" | "stamp",
|
||||
pdfData: any,
|
||||
options: {
|
||||
command: "watermark" | "stamp" | "merge",
|
||||
pdfData: any | any[],
|
||||
options?: {
|
||||
pages?: (string | number)[]
|
||||
description?: {
|
||||
[key: string]: number | string
|
||||
}
|
||||
mode?: "image" | "pdf"
|
||||
mode?: "text" | "image" | "pdf"
|
||||
bytes?: any // []byte of watermark image
|
||||
file?: string // file for pdf watermark
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user