UNPKG

@pierre/diffs

Version:

10 lines (8 loc) 570 B
import { areThemesEqual } from "./areThemesEqual.js"; //#region src/utils/areDiffRenderOptionsEqual.ts function areDiffRenderOptionsEqual(optionsA, optionsB) { return areThemesEqual(optionsA.theme, optionsB.theme) && optionsA.useTokenTransformer === optionsB.useTokenTransformer && optionsA.tokenizeMaxLineLength === optionsB.tokenizeMaxLineLength && optionsA.lineDiffType === optionsB.lineDiffType && optionsA.maxLineDiffLength === optionsB.maxLineDiffLength; } //#endregion export { areDiffRenderOptionsEqual }; //# sourceMappingURL=areDiffRenderOptionsEqual.js.map