UNPKG

@tempots/dom

Version:

Fully-typed frontend framework alternative to React and Angular

14 lines (13 loc) 527 B
/** * Represents a set of properties or values that are excluded from the CSSStyleDeclaration interface. * * @public */ export type ExcludeFromStyle = 'getPropertyPriority' | 'getPropertyValue' | 'item' | 'removeProperty' | 'setProperty' | 'parentRule' | 'length' | 'name' | number | typeof Symbol.iterator; /** * Represents a subset of CSS styles. * It is a type that excludes certain properties from the `CSSStyleDeclaration` type. * * @public */ export type CSSStyles = Omit<CSSStyleDeclaration, ExcludeFromStyle>;