Attributes.d.ts 617 B

123456789101112131415
  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. */
  6. export 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. */
  14. export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
  15. //# sourceMappingURL=Attributes.d.ts.map