LoadOptions
On this page

LoadOptions

Interface in Runtime

How rt.load() loads a program.

import type { LoadOptions } from 'typeshade/runtime'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

interface LoadOptions {
readonly console?: boolean;
}

Instance properties

consoleoptionalread only boolean

Record the entries’ console.* calls. Defaults to the legacy enabled console variant (vite dev); an optional variants.console stays disabled until requested. Either needs no emitter. Without one, the runtime’s emit can use retained IR.

Source

src/runtime/runtime.ts, line 89, at commit af54ddad5

Edit this page Report a problem