overleaf-cep/services/web/frontend/js/utils/wasm.ts
Alf Eaton 6ccf61e1f2 Disable spell check if WebAssembly is not available (#23136)
GitOrigin-RevId: c209540579e0d8ff7f62dc66ff5d850450b18600
2025-01-29 09:04:41 +00:00

1 line
80 B
TypeScript

export const supportsWebAssembly = () => typeof window.WebAssembly === 'object'