From d323d538e51c1a57f7647c9308d6f4c1f969aed3 Mon Sep 17 00:00:00 2001 From: zhengdaodeguL <1159957339@qq.com> Date: Mon, 16 Nov 2026 13:45:49 +0800 Subject: [PATCH] Remove GetProjectReferenceFromSource from printer.EmitHost (#65521) --- tsc/internal/printer/emithost.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tsc/internal/printer/emithost.go b/tsc/internal/printer/emithost.go index 575971444bf1f..e18a75481fe4c 100644 --- a/tsc/internal/printer/emithost.go +++ b/tsc/internal/printer/emithost.go @@ -3,7 +3,6 @@ package printer import ( "github.com/microsoft/TypeScript/tsc/internal/ast" "github.com/microsoft/TypeScript/tsc/internal/core" - "github.com/microsoft/TypeScript/tsc/internal/tsoptions" "github.com/microsoft/TypeScript/tsc/internal/tspath" ) @@ -19,6 +18,5 @@ type EmitHost interface { WriteFile(fileName tspath.RootedFilePath, text string) error GetEmitModuleFormatOfFile(file ast.HasFileName) core.ModuleKind NewEmitResolver(emitContext *EmitContext) EmitResolver - GetProjectReferenceFromSource(path tspath.PathKey) *tsoptions.SourceOutputAndProjectReference IsSourceFileFromExternalLibrary(file *ast.SourceFile) bool }