From 063b527914dd6f80e69d19213392d0fe2382ada4 Mon Sep 17 00:00:00 2001 From: r58Playz Date: Fri, 19 Apr 2024 14:08:18 -0700 Subject: [PATCH] fix types --- client/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/build.sh b/client/build.sh index 9219e00..7aaa0a8 100755 --- a/client/build.sh +++ b/client/build.sh @@ -34,9 +34,9 @@ echo "export default epoxy;" >> pkg/epoxy-module-bundled.js AUTOGENERATED_TYPEDEFS=$(<"out/epoxy_client.d.ts") AUTOGENERATED_TYPEDEFS=${AUTOGENERATED_TYPEDEFS%%export class IntoUnderlyingByteSource*} echo "$AUTOGENERATED_TYPEDEFS" > pkg/epoxy-module-bundled.d.ts -echo "}\nexport default function epoxy(maybe_memory?: WebAssembly.Memory): Promise;" >> pkg/epoxy-module-bundled.d.ts +echo -e "}\nexport default function epoxy(maybe_memory?: WebAssembly.Memory): Promise;" >> pkg/epoxy-module-bundled.d.ts echo "$AUTOGENERATED_TYPEDEFS" > pkg/epoxy-bundled.d.ts -echo "}\ndeclare function epoxy(maybe_memory?: WebAssembly.Memory): Promise;" >> pkg/epoxy-bundled.d.ts +echo -e "}\ndeclare function epoxy(maybe_memory?: WebAssembly.Memory): Promise;" >> pkg/epoxy-bundled.d.ts cp out/epoxy_client.d.ts pkg/epoxy.d.ts cp out/epoxy_client_bg.wasm pkg/epoxy.wasm