@@ -5,7 +5,7 @@ import { File } from "./types";
55import Parser from "tree-sitter" ;
66import assert from "assert" ;
77import { getLanguagePlugin } from "../languagesPlugins" ;
8- import { Export } from "../languagesPlugins/types" ;
8+ import { DepExport } from "../languagesPlugins/types" ;
99
1010class SplitRunner {
1111 private dependencyTreeManager : DependencyTreeManager ;
@@ -33,7 +33,7 @@ class SplitRunner {
3333 }
3434
3535 #getExportMap( ) {
36- const exportMap = new Map < string , Export > ( ) ;
36+ const exportMap = new Map < string , DepExport [ ] > ( ) ;
3737
3838 this . files . forEach ( ( file ) => {
3939 const languagePlugin = getLanguagePlugin ( this . entrypointPath , file . path ) ;
@@ -48,7 +48,7 @@ class SplitRunner {
4848 return exportMap ;
4949 }
5050
51- #removeInvalidImportsAndUsages( exportMap : Map < string , Export > ) {
51+ #removeInvalidImportsAndUsages( exportMap : Map < string , DepExport [ ] > ) {
5252 this . files = this . files . map ( ( file ) => {
5353 const languagePlugin = getLanguagePlugin ( this . entrypointPath , file . path ) ;
5454
@@ -117,7 +117,7 @@ class SplitRunner {
117117 }
118118 }
119119
120- #removeUnusedExports( exportMap : Map < string , Export > ) {
120+ #removeUnusedExports( exportMap : Map < string , DepExport [ ] > ) {
121121 let exportDeleted = true ;
122122 while ( exportDeleted ) {
123123 exportDeleted = false ;
0 commit comments