ClassifiedSemanticDiff
이 페이지에서

ClassifiedSemanticDiff

인터페이스, 도구 분류

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

import type { ClassifiedSemanticDiff } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

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

설명

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.

인스턴스 속성

explained읽기 전용 readonly ExplainedDiffEntry[]

함께 보기

소스

src/core/semantic-diff.ts, 114행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고