0.0.0-beta.0 • Published 5 years ago

@styleaux/csstype v0.0.0-beta.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@styleaux/csstype

npm

Modified version of csstype

See csstype for more detailed docs.

Key Differences

  • All types use StringHack rather then string inorder to maintain have intellisense.
  • Generic Defaults use StringHack & number vs string & 0
  • All types are exported (ei. export type Color = NamedColor | DeprecatedSystemColor | "currentcolor" | StringHack; NamedColor is also exported individually)
  • DeclarationProperties all have default generics rather than just interfaces
  • DeclarationProperties all have mdn comments
  • Properties does not include ObsoleteProperties ** May revert this