interface ReaderCodegenOptions {
    includeFlags?: boolean;
    includeMethodResults?: boolean;
    includeMethods?: boolean;
    variableName?: string;
}

Properties

includeFlags?: boolean

Whether to include flags field in the result object

false
includeMethodResults?: boolean

Whether to include ._results field in the result object, containing a map of methods names to their result readers.

Requires parseMethodTypes to be true when parsing the TL schema.

Note: will only work for primitives and vectors of primitives

includeMethods?: boolean

Whether to include methods in the readers map

variableName?: string

Name of the variable to use for the readers map

'm'