Type alias HighlightRule

HighlightRule: ({
    defaultToken: string;
} | {
    include: string;
} | {
    todo: string;
} | {
    caseInsensitive?: boolean;
    comment?: string;
    next?: string | (() => void);
    nextState?: string;
    push?: string;
    regex: string | RegExp;
    token: string | string[] | ((value) => string);
}) & {
    [key: string]: any;
}

Type declaration

  • [key: string]: any

Generated using TypeDoc