Tried to convert server-node to TS, there are still some issues
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
declare module '@stirling-pdf/shared-operations/wasm/pdfcpu/pdfcpu-wrapper-node.js' {
|
||||
export async function oneToOne(wasmArray: any, snapshot: any): Promise<Uint8Array>;
|
||||
}
|
||||
|
||||
declare module '@stirling-pdf/shared-operations/workflow/traverseOperations.js' {
|
||||
export type PDF = {
|
||||
originalFileName: string;
|
||||
fileName: string;
|
||||
buffer: Uint8Array;
|
||||
}
|
||||
export async function * traverseOperations(operations: any, input: PDF|PDF[], Operations: any);
|
||||
}
|
||||
Reference in New Issue
Block a user