ExplainedDiffEntry
인터페이스, 도구 분류
One diff line that a declared transform explains: applying transform to the reference side made line disappear from bucket.
import type { ExplainedDiffEntry } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface ExplainedDiffEntry { readonly transform: string; readonly bucket: SemanticDiffBucket; readonly line: string;}설명
The line keeps its - or +
prefix. A - line is a fact of a the transform rewrote away; a + line is a fact
of b the transformed reference now also has. transform is the plugin’s
identity ?? name, the same spelling emitIdentity reports.
인스턴스 속성
transform읽기 전용stringbucket읽기 전용SemanticDiffBucketline읽기 전용string
함께 보기
소스
src/core/semantic-diff.ts, 103행, 커밋 c66579bf 기준