From bed50d8825c5befd25ceeb6e444a9c540068b362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Hon?= Date: Fri, 29 Jul 2022 08:59:14 +0200 Subject: [PATCH] Fix TypeScript signature of the emscripten module init function --- packages/replicad-opencascadejs/src/replicad_single.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/replicad-opencascadejs/src/replicad_single.d.ts b/packages/replicad-opencascadejs/src/replicad_single.d.ts index 9a6cfe8..09b62fc 100644 --- a/packages/replicad-opencascadejs/src/replicad_single.d.ts +++ b/packages/replicad-opencascadejs/src/replicad_single.d.ts @@ -7097,6 +7097,6 @@ export type OpenCascadeInstance = {FS: typeof FS} & { Extrema_ExtAlgo: Extrema_ExtAlgo; }; -declare function init(): Promise; +declare function init(module: any): Promise; export default init;