Skip to content

Commit ff28ffa

Browse files
committed
Remove @internal from Program::isSourceFileDefaultLibrary
Fixes microsoft#25225
1 parent e38aad8 commit ff28ffa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,7 @@ namespace ts {
27742774
/* @internal */ getFileProcessingDiagnostics(): DiagnosticCollection;
27752775
/* @internal */ getResolvedTypeReferenceDirectives(): Map<ResolvedTypeReferenceDirective>;
27762776
isSourceFileFromExternalLibrary(file: SourceFile): boolean;
2777-
/* @internal */ isSourceFileDefaultLibrary(file: SourceFile): boolean;
2777+
isSourceFileDefaultLibrary(file: SourceFile): boolean;
27782778

27792779
// For testing purposes only.
27802780
/* @internal */ structureIsReused?: StructureIsReused;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,7 @@ declare namespace ts {
17801780
*/
17811781
getTypeChecker(): TypeChecker;
17821782
isSourceFileFromExternalLibrary(file: SourceFile): boolean;
1783+
isSourceFileDefaultLibrary(file: SourceFile): boolean;
17831784
getProjectReferences(): (ResolvedProjectReference | undefined)[] | undefined;
17841785
}
17851786
interface ResolvedProjectReference {

0 commit comments

Comments
 (0)