mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Make unchangedTextChangeRange const (#55836)
This commit is contained in:
parent
956a363028
commit
e44ecbc289
@ -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
|
||||
|
||||
@ -9153,7 +9153,7 @@ declare namespace ts {
|
||||
function isJSDocLinkLike(node: Node): node is JSDocLink | JSDocLinkCode | JSDocLinkPlain;
|
||||
function hasRestParameter(s: SignatureDeclaration | JSDocSignature): boolean;
|
||||
function isRestParameter(node: ParameterDeclaration | JSDocParameterTag): boolean;
|
||||
let unchangedTextChangeRange: TextChangeRange;
|
||||
const unchangedTextChangeRange: TextChangeRange;
|
||||
type ParameterPropertyDeclaration = ParameterDeclaration & {
|
||||
parent: ConstructorDeclaration;
|
||||
name: Identifier;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user