MCPcopy Index your code
hub / github.com/nodejs/node / assertTypeScript

Function assertTypeScript

lib/internal/util.js:245–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245function assertTypeScript() {
246 if (noTypeScript)
247 throw new ERR_NO_TYPESCRIPT();
248 if (globalThis.WebAssembly === undefined)
249 throw new ERR_WEBASSEMBLY_NOT_SUPPORTED('TypeScript');
250}
251
252/**
253 * Move the "slow cases" to a separate function to make sure this function gets

Callers 1

typescript.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…