vite_deleteelectron

This commit is contained in:
2026-08-09 21:02:10 +03:00
parent 5d2fc5773c
commit 4ba9dd8012
99 changed files with 7080 additions and 48649 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import React from 'react';
import { Document, Page, pdfjs } from 'react-pdf';
pdfjs.GlobalWorkerOptions.workerSrc = '/pdf.worker.js';
pdfjs.GlobalWorkerOptions.workerSrc = '/pdf.worker.min.mjs';
interface PayslipViewerProps {
fileUrl: string;
-4
View File
@@ -6,10 +6,6 @@ declare module '*.gif';
declare module '*.bmp';
declare module '*.tiff';
declare module 'fs';
declare module 'path';
declare module 'os';
interface Config {
backendUrl: string;
}
+1 -1
View File
@@ -1 +1 @@
/// <reference types="react-scripts" />
/// <reference types="vite/client" />
-18
View File
@@ -1,18 +0,0 @@
declare module 'textract' {
interface TextractOptions {
preserveLineBreaks?: boolean;
preserveOnlyMultipleLineBreaks?: boolean;
[key: string]: any;
}
function fromBufferWithMime(
mimeType: string,
buffer: Buffer,
options: TextractOptions,
callback: (error: Error | null, text: string) => void
): void;
export = {
fromBufferWithMime
};
}