TabScript - v2.0.2
    Preparing search index...

    Type Alias Options

    Configuration options for the TabScript transpiler.

    type Options = {
        debug?: boolean | ((...args: string[]) => void);
        js?: boolean;
        loadPlugin?: (path: string) => PluginModule;
        recover?: boolean;
        transformImport?: (uri: string) => string;
        whitespace?: "preserve" | "pretty";
    }
    Index

    Properties

    debug?: boolean | ((...args: string[]) => void)

    When true, logs each consumed token. If a function, calls that function instead of console.debug.

    js?: boolean

    When true, outputs JavaScript instead of TypeScript by stripping type annotations.

    loadPlugin?: (path: string) => PluginModule

    Function to load a plugin module synchronously from a path. Required for plugin imports.

    recover?: boolean

    When true, attempts to recover from errors and continue transpilation instead of throwing.

    transformImport?: (uri: string) => string

    Function to transform import URIs during transpilation.

    whitespace?: "preserve" | "pretty"

    Output formatting mode: "preserve" maintains input alignment, "pretty" adds readable indentation.