@styleaux/csstype
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-beta.0 • Public • Published

@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

Package Sidebar

Install

npm i @styleaux/csstype

Weekly Downloads

3

Version

0.0.0-beta.0

License

MIT

Unpacked Size

2.14 MB

Total Files

6

Last publish

Collaborators

  • joshrosenstein