MCPcopy Index your code
hub / github.com/kpdecker/jsdiff / CommonDiffOptions

Interface CommonDiffOptions

src/types.ts:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26export type ArrayChange<T> = ChangeObject<T[]>;
27
28export interface CommonDiffOptions {
29 /**
30 * If `true`, the array of change objects returned will contain one change object per token (e.g. one per line if calling `diffLines`), instead of runs of consecutive tokens that are all added / all removed / all conserved being combined into a single change object.
31 */
32 oneChangePerToken?: boolean,
33}
34
35export interface TimeoutOption {
36 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected