Make unchangedTextChangeRange const (#55836)

This commit is contained in:
Jake Bailey
2023-09-23 16:17:44 -07:00
committed by GitHub
parent 956a363028
commit e44ecbc289
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ export function createTextChangeRange(span: TextSpan, newLength: number): TextCh
return { span, newLength };
}
export let unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0); // eslint-disable-line prefer-const
export const unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0);
/**
* Called to merge all the changes that occurred across several versions of a script snapshot