mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
Cleanup, Documented Impose
This commit is contained in:
@@ -7,8 +7,7 @@ import { PdfFile } from "@stirling-pdf/shared-operations/src/wrappers/PdfFile"
|
||||
import * as pdfcpuWrapper from "@stirling-pdf/shared-operations/src/wasm/pdfcpu/pdfcpu-wrapper-node.js";
|
||||
|
||||
async function impose(params: ImposeParamsType): Promise<PdfFile> {
|
||||
const paramsToUse = { ...params, pdfcpuWrapper: pdfcpuWrapper };
|
||||
return SharedOperations.impose(paramsToUse);
|
||||
return SharedOperations.impose(params, pdfcpuWrapper);
|
||||
}
|
||||
|
||||
const toExport: OperationsType = {
|
||||
|
||||
Reference in New Issue
Block a user