Search


Search something to see results

ShorthandPropertyType

shorthand configuration

interface ShorthandPropertyType {
    keywords: string[];
    map?: string;
    multiple: boolean;
    properties: string[];
    separator: {
        typ:
            | "toString"
            | "toLocaleString"
            | "toFixed"
            | "toExponential"
            | "toPrecision"
            | "valueOf";
        val: string;
    };
    shorthand: string;
    types: string[];
    valueSeparator?: {
        typ: | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf";
        val: string;
    };
}

Index

Properties

keywords: string[]

keywords

map?: string

mapped shorthand property

multiple: boolean

allow multiple values

properties: string[]

property names

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

values separator

Type Declaration

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

    token type

  • val: string

    token value

shorthand: string

shorthand name

types: string[]

property types

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

value separator

Type Declaration

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

    token type

  • val: string

    token value