@@ -17,7 +17,7 @@ export interface IGlobalVariableAnalyzer {
1717export class TypeScriptInternals {
1818 public static getImmediateAliasedSymbol ( symbol : ts . Symbol , typeChecker : ts . TypeChecker ) : ts . Symbol {
1919 // Compiler internal:
20- // https://github.com/microsoft/TypeScript/blob/v3.2.2 /src/compiler/checker.ts
20+ // https://github.com/microsoft/TypeScript/blob/v5.9.3 /src/compiler/checker.ts
2121 return ( typeChecker as any ) . getImmediateAliasedSymbol ( symbol ) ;
2222 }
2323
@@ -61,7 +61,7 @@ export class TypeScriptInternals {
6161 */
6262 public static getJSDocCommentRanges ( node : ts . Node , text : string ) : ts . CommentRange [ ] | undefined {
6363 // Compiler internal:
64- // https://github.com/microsoft/TypeScript/blob/v2.4.2 /src/compiler/utilities.ts#L616
64+ // https://github.com/microsoft/TypeScript/blob/v5.9.3 /src/compiler/utilities.ts#L2710
6565
6666 return ( ts as any ) . getJSDocCommentRanges . apply ( this , arguments ) ;
6767 }
@@ -73,7 +73,7 @@ export class TypeScriptInternals {
7373 node : ts . Identifier | ts . StringLiteralLike | ts . NumericLiteral
7474 ) : string {
7575 // Compiler internal:
76- // https://github.com/microsoft/TypeScript/blob/v3.2.2 /src/compiler/utilities.ts#L2721
76+ // https://github.com/microsoft/TypeScript/blob/v5.9.3 /src/compiler/utilities.ts#L5368
7777
7878 return ( ts as any ) . getTextOfIdentifierOrLiteral ( node ) ;
7979 }
@@ -89,7 +89,7 @@ export class TypeScriptInternals {
8989 mode : ts . ModuleKind . CommonJS | ts . ModuleKind . ESNext | undefined
9090 ) : ts . ResolvedModuleFull | undefined {
9191 // Compiler internal:
92- // https://github.com/microsoft/TypeScript/blob/v5.3 .3/src/compiler/types.ts#L4698
92+ // https://github.com/microsoft/TypeScript/blob/v5.9 .3/src/compiler/types.ts#L5064
9393 const result : ts . ResolvedModuleWithFailedLookupLocations | undefined = ( program as any ) . getResolvedModule (
9494 sourceFile ,
9595 moduleNameText ,
@@ -107,7 +107,7 @@ export class TypeScriptInternals {
107107 compilerOptions : ts . CompilerOptions
108108 ) : ts . ModuleKind . CommonJS | ts . ModuleKind . ESNext | undefined {
109109 // Compiler internal:
110- // https://github.com/microsoft/TypeScript/blob/v5.8.2 /src/compiler/program.ts#L931
110+ // https://github.com/microsoft/TypeScript/blob/v5.9.3 /src/compiler/program.ts#L932
111111
112112 return ts . getModeForUsageLocation ?.( file , usage , compilerOptions ) ;
113113 }
0 commit comments