UNPKG

617 BTypeScriptView Raw
1/**
2 * Attributes is a map from string to attribute values.
3 *
4 * Note: only the own enumerable keys are counted as valid attribute keys.
5 */
6export interface Attributes {
7 [attributeKey: string]: AttributeValue | undefined;
8}
9/**
10 * Attribute values may be any non-nullish primitive value except an object.
11 *
12 * null or undefined attribute values are invalid and will result in undefined behavior.
13 */
14export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
15//# sourceMappingURL=Attributes.d.ts.map
\No newline at end of file