interface WriterCodegenOptions {
    bare?: boolean;
    includeFlags?: boolean;
    includePrelude?: boolean;
    includeStaticSizes?: boolean;
    variableName?: string;
}

Properties

bare?: boolean

Whether to generate bare writer (without constructor id write)

includeFlags?: boolean

Whether to use flags field from the input

false
includePrelude?: boolean

Whether to include prelude code (function h)

includeStaticSizes?: boolean

Whether to include _staticSize field

variableName?: string

Name of the variable to use for the writers map

'm'