Skip to content

OptionMode

ts
export type OptionMode = "never" | "include" | "only";

WARNING

Not to be used directly.

Representation of the option mode for including or excluding certain items in the parsing process. The OptionMode type can take one of three string literal values: "never" (indicating that the item should never be included), "include" (indicating that the item should be included along with others), and "only" (indicating that only this item should be included, excluding all others). This type is used to control the behavior of the parser when determining which items to include in the output based on user-defined options.