Skip to content

Commit 8d13314

Browse files
ajafffmhegazy
authored andcommitted
Expose isSourceFileFromExternalLibrary (#16112)
1 parent 49676c5 commit 8d13314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,7 @@ namespace ts {
24312431
getDeclarationDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): Diagnostic[];
24322432

24332433
/**
2434-
* Gets a type checker that can be used to semantically analyze source fils in the program.
2434+
* Gets a type checker that can be used to semantically analyze source files in the program.
24352435
*/
24362436
getTypeChecker(): TypeChecker;
24372437

@@ -2451,7 +2451,7 @@ namespace ts {
24512451

24522452
/* @internal */ getFileProcessingDiagnostics(): DiagnosticCollection;
24532453
/* @internal */ getResolvedTypeReferenceDirectives(): Map<ResolvedTypeReferenceDirective>;
2454-
/* @internal */ isSourceFileFromExternalLibrary(file: SourceFile): boolean;
2454+
isSourceFileFromExternalLibrary(file: SourceFile): boolean;
24552455
// For testing purposes only.
24562456
/* @internal */ structureIsReused?: StructureIsReused;
24572457

0 commit comments

Comments
 (0)