---
title: "@types/css-tree 3.2.0 Breaking Changes on npm | Since.dev"
description: "What each @types/css-tree release removed, renamed or changed: 32 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@types/css-tree
last_updated: 2026-12-04
---

# @types/css-tree breaking changes

@types/css-tree 3.2.0 (August 3, 2026) is its newest release with breaking changes, 26 of them. The first: Removed DefinitionSyntax.syntaxError. Every breaking API change we have recorded in @types/css-tree on npm: 32 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.2.0`, released August 3, 2026. [Source repository](https://github.com/DefinitelyTyped/DefinitelyTyped)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [3.2.0](#v-3-2-0): 26 breaking changes in 1 version.

## @types/css-tree 3.2.0 breaking changes

@types/css-tree 3.2.0, released August 3, 2026: 26 breaking changes.

- **Removed** `DefinitionSyntax.syntaxError`  

DefinitionSyntax.syntaxError was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `GenerateHandlers.children`  

GenerateHandlers.children was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `GenerateHandlers.chunk`  

GenerateHandlers.chunk was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `MediaFeature`  

MediaFeature was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `MediaQuery.children`  

MediaQuery.children was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `MediaQueryPlain.children`  

MediaQueryPlain.children was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `SyntaxParseError.input`  

SyntaxParseError.input was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Removed** `SyntaxParseError.rawMessage`  

SyntaxParseError.rawMessage was removed in @types/css-tree 3.2.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `CssNode`  

Was type CssNode = | AnPlusB | Atrule | AtrulePrelude | AttributeSelector | Block | Brackets | CDC | CDO | ClassSelector | Combinator | Comment | Declaration | DeclarationList | Dimension | FunctionNode | Hash | IdSelector | Identifier |... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `CssNodePlain`  

Was type CssNodePlain = | AnPlusB | AtrulePlain | AtrulePreludePlain | AttributeSelector | BlockPlain | BracketsPlain | CDC | CDO | ClassSelector | Combinator | Comment | DeclarationPlain | DeclarationListPlain | Dimension |... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `DefinitionSyntax.generate`  

Was generate(node: DSNode, options?: DSGenerateOptions): string; now generate(node: DSNode, options?: DSGenerateOptions | DSGenerateDecorateFn): string. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `DSGenerateOptions.decorate`  

Was decorate?: ((result: string, node: DSNode) => void) | undefined; now decorate?: DSGenerateDecorateFn | undefined. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `DSNode`  

Was type DSNode = | DSNodeAtWord | DSNodeComma | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeMultiplier | DSNodeProperty | DSNodeString | DSNodeToken | DSNodeType; now type DSNode = | DSNodeAtWord | DSNodeBoolean | DSNodeComma |... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `DSNodeMultiplied`  

Was type DSNodeMultiplied = | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeProperty | DSNodeString | DSNodeType; now type DSNodeMultiplied = | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeProperty | DSNodeString |... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `fork`  

Was function fork(extension: {atrules?: Record\<string, string> | undefined; properties?: Record\<string, string> | undefined; types?: Record\<string, string> | undefined; cssWideKeywords?: Array\<string> | undefined;}): {lexer: Lexer}; now... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `GenerateHandlers.node`  

Was node: (node: CssNode) => void; now node(node: CssNode): void. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `GenerateHandlers.result`  

Was result: () => string; now result(): string. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `List.insert`  

Was insert(item: ListItem\<TData>, before: ListItem\<TData>): List\<TData>; now insert(item: ListItem\<TData>, before?: ListItem\<TData> | null): List\<TData>. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `List.pop`  

Was pop(): ListItem\<TData> | undefined; now pop(): ListItem\<TData> | null. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `List.replace`  

Was replace(oldItem: ListItem\<TData>, newItemOrList: List\<TData> | ListItem\<TData>): List\<TData>; now replace(oldItem: ListItem\<TData>, newItemOrList: List\<TData> | ListItem\<TData>): void. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `List.shift`  

Was shift(): ListItem\<TData> | undefined; now shift(): ListItem\<TData> | null. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `Ratio.left`  

Was left: string; now left: NumberNode | FunctionNode. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `Ratio.right`  

Was right: string; now right: NumberNode | FunctionNode | null. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `SyntaxMatchError`  

Was class SyntaxMatchError extends SyntaxError; now interface SyntaxMatchError extends SyntaxError. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `SyntaxReferenceError`  

Was class SyntaxReferenceError extends SyntaxError; now interface SyntaxReferenceError extends SyntaxError. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)
- **Signature changed** `WalkOptions`  

Was type WalkOptions = | WalkOptionsVisit\<AnPlusB> | WalkOptionsVisit\<Atrule> | WalkOptionsVisit\<AtrulePrelude> | WalkOptionsVisit\<AttributeSelector> | WalkOptionsVisit\<Block> | WalkOptionsVisit\<Brackets> | WalkOptionsVisit\<CDC> |... [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/3.2.0)

## @types/css-tree 2.0.0 breaking changes

@types/css-tree 2.0.0, released October 15, 2022: 6 breaking changes.

- **Removed** `List.each`  

List.each was removed in @types/css-tree 2.0.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)
- **Removed** `List.eachRight`  

List.eachRight was removed in @types/css-tree 2.0.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)
- **Removed** `List.getSize`  

List.getSize was removed in @types/css-tree 2.0.0 [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)
- **Signature changed** `List.first`  

Was first(): TData | null; now readonly first: TData|null. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)
- **Signature changed** `List.isEmpty`  

Was isEmpty(): boolean; now readonly isEmpty: boolean. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)
- **Signature changed** `List.last`  

Was last(): TData | null; now readonly last: TData|null. [npmjs.com](https://www.npmjs.com/package/@types/css-tree/v/2.0.0)

## Related packages

- [@types/chrome](https://since.dev/packages/npm/@types/chrome.md)
- [@types/node](https://since.dev/packages/npm/@types/node.md)
- [@types/react](https://since.dev/packages/npm/@types/react.md)
- [@types/jqueryui](https://since.dev/packages/npm/@types/jqueryui.md)
- [@types/chrome-remote-interface](https://since.dev/packages/npm/@types/chrome-remote-interface.md)
- [@types/three](https://since.dev/packages/npm/@types/three.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
