ShorthandMapType
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;
}
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
Properties
default
default: string[]
default values
keywords
keywords: string[]
shorthand keywords
Optionalmapping
mapping?: Record<string, string>
values mapping
Optionalmultiple
multiple?: boolean
allow multiple values
pattern
pattern: string
shorthand pattern
properties
shorthand properties
Type Declaration
-
[property: string]: PropertyMapType
shorthand properties
Optionalseparator
separator?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val?: string;
}
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val?: string;
}
shorthand values separator
Type Declaration
-
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf"token type
-
Optionalval?: stringtoken value
Optionalset
set?: Record<string, string[]>
shorthand property sets
shorthand
shorthand: string
shorthand name
mapped shorthand definition