@styleaux/csstype
v0.0.0-beta.0
Published
Strict TypeScript and Flow types for style based on MDN data
Maintainers
Readme
@styleaux/csstype
Modified version of csstype
See csstype for more detailed docs.
Key Differences
- All types use
StringHackrather then string inorder to maintain have intellisense. - Generic Defaults use
StringHack&numbervsstring&0 - All types are exported (ei.
export type Color = NamedColor | DeprecatedSystemColor | "currentcolor" | StringHack;NamedColoris 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
