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 26de7be8.

Syntax

interface LoadOptions {
readonly console?: boolean;
}

Instance properties

consoleoptionalread only boolean

Record the entries’ console.* calls. Default: when the manifest carries the recorded variant, which a build that records puts there (vite dev). A manifest without it is emitted again with it by the runtime’s emit, when it carries its IR.

Source

src/runtime/runtime.ts, line 65, at commit 26de7be8

Edit this page Report a problem