From 177ee0550243b98459b2379d7f92d2c809d28db8 Mon Sep 17 00:00:00 2001 From: Harikrishnan Balagopal Date: Sun, 31 Mar 2024 15:37:33 +0530 Subject: [PATCH] fix: reexport the WASIProcExit so it can be caught when calling exported functions Signed-off-by: Harikrishnan Balagopal --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 40f2d24..bd4236f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ -import WASI from "./wasi.js"; -export { WASI }; +import WASI, { WASIProcExit } from "./wasi.js"; +export { WASI, WASIProcExit }; export { Fd } from "./fd.js"; export {