PropertyMapType
interface PropertyMapType {
constraints?: { [key: string]: { [key: string]: any } };
default: string[];
keywords: string[];
mapping?: Record<string, string>;
multiple?: boolean;
prefix?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
};
previous?: string;
required?: boolean;
separator?: {
typ: | "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
};
types: string[];
}
constraints?: { [key: string]: { [key: string]: any } };
default: string[];
keywords: string[];
mapping?: Record<string, string>;
multiple?: boolean;
prefix?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
};
previous?: string;
required?: boolean;
separator?: {
typ: | "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
};
types: string[];
}
Index
Properties
Properties
Optionalconstraints
constraints?: { [key: string]: { [key: string]: any } }
property constraints
Type Declaration
-
[key: string]: { [key: string]: any }
property constraints
Type Declaration
-
[key: string]: any
property constraints
-
default
default: string[]
default values
keywords
keywords: string[]
keywords
Optionalmapping
mapping?: Record<string, string>
values mapping
Optionalmultiple
multiple?: boolean
allow multiple values
Optionalprefix
prefix?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
}
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
val: string;
}
property has a prefix
Type Declaration
-
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf"token type
-
val: string
token value
Optionalprevious
previous?: string
previous property
Optionalrequired
required?: boolean
required
Optionalseparator
separator?: {
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
}
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf";
}
separator
Type Declaration
-
typ:
| "toString"
| "toLocaleString"
| "toFixed"
| "toExponential"
| "toPrecision"
| "valueOf"token type
types
types: string[]
property types
mapped shorthand property. a set of different properties such as
font