@prisma/language-server
Version:
Prisma Language Server
11 lines • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const WasmPanicRegistry_1 = require("./WasmPanicRegistry");
/**
* Set up a global registry for Wasm panics.
* This allows us to retrieve the panic message from the Wasm panic hook,
* which is not possible otherwise.
*/
const globalWithWasm = globalThis;
globalWithWasm.PRISMA_WASM_PANIC_REGISTRY = new WasmPanicRegistry_1.WasmPanicRegistry();
//# sourceMappingURL=wasm.js.map