Skip to content

Commit 604dd8a

Browse files
refactor: Remove unused methods from MultiCompilerHost interface
1 parent 299f274 commit 604dd8a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/core/src/multiCompilerHost.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ export interface ResolveModuleNameResult {
99

1010
export interface MultiCompilerHost {
1111
getSourceFile(fileName: string, moduleResolution?: ResolutionOption): ts.SourceFile | undefined;
12-
getImpliedNodeFormatForFile(
13-
fileName: string,
14-
moduleResolution: ResolutionOption
15-
): ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS | undefined;
16-
getPackageScopeForPath(fileName: string): ts.PackageJsonInfo | undefined;
1712
getModuleKindForFile(fileName: string, moduleResolution: "node16"): ModuleKind;
1813
getModuleKindForFile(fileName: string, moduleResolution: ResolutionOption): ModuleKind | undefined;
1914
resolveModuleName(
@@ -90,8 +85,6 @@ export function createMultiCompilerHost(fs: Package): MultiCompilerHost {
9085

9186
return {
9287
getSourceFile,
93-
getImpliedNodeFormatForFile,
94-
getPackageScopeForPath,
9588
getModuleKindForFile,
9689
resolveModuleName,
9790
createProgram,

0 commit comments

Comments
 (0)