You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* All wasm libraries have the same asynchronous load pattern
56
58
-`const instance = await Wasm.load();`
59
+
60
+
### ⚠⚠⚠ TypeScript Notes ⚠⚠⚠
61
+
62
+
When importing an ESM package AND referencing explicit `exports` (like `@hpcc-js/wasm/graphviz` or `@hpcc-js/wasm/expat`), you should change the following tsconfig.json setting:
63
+
*`moduleResolution: Node16`
64
+
65
+
This will ensure the correct "types" are auto discovered.
0 commit comments