From 498650b0adbffb02b4f3b6fcbd655a569f7fe09b Mon Sep 17 00:00:00 2001 From: Arnav Dugar Date: Sun, 15 Nov 2026 23:14:49 -0500 Subject: [PATCH] Remove the compiler options dependency from the printer --- 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 }