Merge branch 'main' of https://git.ambigrat.com/hom/yuanhe-checkin-electron
This commit is contained in:
2
src/electron.d.ts
vendored
2
src/electron.d.ts
vendored
@@ -14,7 +14,7 @@ interface ElectronAPI {
|
||||
) => Promise<{ success: boolean; data?: string; error?: string }>;
|
||||
printPdf: (
|
||||
pdfUrl: string,
|
||||
options?: { printerName?: string }
|
||||
options?: { printerName?: string; duplex?: boolean }
|
||||
) => Promise<{ success: boolean; error?: string }>;
|
||||
getPrinters: () => Promise<{
|
||||
success: boolean;
|
||||
|
||||
Reference in New Issue
Block a user