@pierre/diffs
Version:
9 lines (8 loc) • 569 B
JavaScript
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