Search


Search something to see results

ShorthandMapType

mapped shorthand definition

interface ShorthandMapType {
    default: string[];
    keywords: string[];
    mapping?: Record<string, string>;
    multiple?: boolean;
    pattern: string;
    properties: { [property: string]: PropertyMapType };
    separator?: {
        typ:
            | "toString"
            | "toLocaleString"
            | "toFixed"
            | "toExponential"
            | "toPrecision"
            | "valueOf";
        val?: string;
    };
    set?: Record<string, string[]>;
    shorthand: string;
}

Index

Properties

default: string[]

default values

keywords: string[]

shorthand keywords

mapping?: Record<string, string>

values mapping

multiple?: boolean

allow multiple values

pattern: string

shorthand pattern

properties: { [property: string]: PropertyMapType }

shorthand properties

Type Declaration

separator?: {
    typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf";
    val?: string;
}

shorthand values separator

Type Declaration

  • typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf"

    token type

  • Optionalval?: string

    token value

set?: Record<string, string[]>

shorthand property sets

shorthand: string

shorthand name