Documentation - v0.27.1
    Preparing search index...

    Interface WriterCodegenOptions

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

    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'