5 lines
207 B
TypeScript
5 lines
207 B
TypeScript
const lineThreshold = 500
|
|
|
|
export function shouldVirtualizeReviewDiff(input: { additionLines: number; deletionLines: number }) {
|
|
return Math.max(input.additionLines, input.deletionLines) > lineThreshold
|
|
}
|