CSSType provides strict TypeScript and Flow type definitions for CSS properties and values, generated from MDN data. It helps with autocompletion and type checking when writing CSS-in-JavaScript or otherwise working with CSS property objects.
Project status
- The project appears to be actively maintained in the broader sense, with an upstream push recorded on 2026-04-10, but the publicly documented version history in the provided data is from 2018.
- Based on the tagged updates shown (v2.4.0, v2.5.0, v2.6.0), the apparent release/update cadence in that period is slow and clustered (roughly weekly to monthly spacing in spring 2018, then nothing in the provided history after v2.6.0).
AI summary generated Today
Recent updates
v2.6.0
12/27/2018v2.6.0 is documented as adding support for HTML and SVG attributes (for example, generating attribute tokens like `[href]`). The code diff shows a broader internal refactor around MDN compatibility data handling and how compatibility summaries and “@see” URLs are generated, along with new exported declarations for HtmlAttributes and SvgAttributes.
BreakingFeaturesv2.5.0
5/9/2018v2.5.0 introduces property summaries into the generated JSDoc-style comment blocks, and specifically addresses the `all` property by adding documentation for it. The code changes go beyond the release notes, including substantial refactors to compatibility data handling and multiple updates to the published TypeScript and Flow type definitions for vendor CSS properties.
Featuresv2.4.0
4/24/2018v2.4.0 adds richer JSDoc generation for CSS property declarations, including an initial value section and a browser compatibility table. The implementation introduces a new comment composer and updates the d.ts generation pipeline to embed these blocks into the generated TypeScript definitions.
Featuresv2.3.1
4/24/2018v2.3.1 updates the generated csstype typings using newer MDN datasets and improves how deprecated or obsolete properties are detected and categorized. The release notes mention duplicated identifier removal, improved deprecation detection, and MDN data bumps, but the actual diff also shows several concrete typing surface changes for specific CSS properties and internal parsing/type generation behavior.
v2.3.0
4/18/2018v2.3.0 focuses on adding vendor-prefixed support for CSS pseudos and at-rule descriptors, and it includes manual patching workarounds pending fixes in MDN data. The release notes only mention “bumping MDN data” as the bug fix, but the code diff shows broader typing and parsing changes that can affect TypeScript consumers.
Featuresv2.2.0
4/11/2018v2.2.0 extends csstype’s generated property and keyword types using MDN browser compatibility data, adding prefixed and alternative values. It also introduces obsolete property typing via the new ObsoleteProperties interface and fixes a few keyword parsing details (notably around CSS-wide keywords and text-shadow multiplier behavior).
Featuresv2.1.0
4/5/2018v2.1.0 introduces new support related to SVG properties. The release notes do not mention any breaking changes, fixes, or dependency updates, so upgrade risk appears low based on the provided information.
Features