@styleaux/csstype
v0.0.0-beta.0
Published
Strict TypeScript and Flow types for style based on MDN data
Downloads
6
Maintainers
Readme
@styleaux/csstype
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
vsstring
&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