IFClite TypeScript API
    Preparing search index...

    Variable SANDBOX_CONSOLE_LEVELSConst

    SANDBOX_CONSOLE_LEVELS: readonly ["log", "warn", "error", "info"]

    The console methods the sandbox installs on its console global.

    Single source for three things that have to agree: the functions buildConsole actually installs, the level a captured LogEntry can carry, and the ambient console declaration that scripts/generate-bim-globals.mjs emits into bim-globals.d.ts.

    The sandbox global scope has exactly two members — bim and this console — so the ambient declaration must be derived from this list rather than borrowed from TypeScript's DOM lib: that would compile a template calling console.table, document or fetch, none of which exist in QuickJS.