UNPKG

@pierre/diffs

Version:

9 lines (8 loc) 733 B
import { TextDocumentChange } from "./textDocument.js"; import { LineAnnotationPosition } from "../utils/lineAnnotationIdentity.js"; //#region src/editor/lineAnnotations.d.ts declare function applyDocumentChangeToLineAnnotations<TLineAnnotation extends LineAnnotationPosition>(change: TextDocumentChange, lineAnnotations: TLineAnnotation[]): TLineAnnotation[] | undefined; declare function renderLineAnnotations<TLineAnnotation extends LineAnnotationPosition>(lineAnnotations: TLineAnnotation[], contentEl: HTMLElement, gutterEl?: HTMLElement, getName?: (annotation: TLineAnnotation) => string): void; //#endregion export { applyDocumentChangeToLineAnnotations, renderLineAnnotations }; //# sourceMappingURL=lineAnnotations.d.ts.map