ShorthandPropertyType
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;
};
}
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
Properties
keywords
keywords: string[]
keywords
Optionalmap
map?: string
mapped shorthand property
multiple
multiple: boolean
allow multiple values
properties
properties: string[]
property names
separator
separator: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
}
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
shorthand: string
shorthand name
types
types: string[]
property types
Optionalvalue Separator
valueSeparator?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
}
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
shorthand configuration