Skip to content

Type Editor


Type Editor / @type-editor/changeset / simplify-changes/fill-change

simplify-changes/fill-change

Functions

FunctionDescription

fillChange

Creates a merged change that spans from fromB to toB, filling gaps between changes.

This function takes a sequence of changes and creates a single change that covers a broader range, filling any gaps between the original changes. The gaps are filled with spans using the data from adjacent changes.