---
title: "ClassifiedSemanticDiff: interface in Tooling, TypeShade API"
description: "ClassifiedSemanticDiff, an interface in Tooling. A SemanticDiff whose differences were classified against a declared transform pipeline…"
url: https://typeshade.dev/api/classifiedsemanticdiff/
language: en
---

# `ClassifiedSemanticDiff`

Interface in Tooling

A SemanticDiff whose differences were classified against a declared transform pipeline (SemanticDiffOptions.transforms).

`import type { ClassifiedSemanticDiff } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
interface ClassifiedSemanticDiff extends SemanticDiff {
  readonly explained: readonly ExplainedDiffEntry[];
}
```

## Description

The four buckets hold only what no declared transform accounts for, which is the part a parity check should fail on. `explained` holds every difference a declared transform proved intentional, with enough detail to review the classification.

## Instance properties

**`explained` read only `readonly ExplainedDiffEntry[]`**

## See also

- [`SemanticDiff`](https://typeshade.dev/api/semanticdiff-interface/)
- [`SemanticDiffOptions`](https://typeshade.dev/api/semanticdiffoptions/)

## Source

[`src/core/semantic-diff.ts`, line 88](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/semantic-diff.ts#L88), at commit af54ddad5
