Skip to content

Commit dd617f4

Browse files
committed
refactor: remove unused sourceFiles
1 parent 75ecb6a commit dd617f4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/create-project.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export type CreateProjectOptions = {
1616
export type ProjectContainer = {
1717
project: Project;
1818
indexFile: SourceFile;
19-
sourceFiles: SourceFile[];
2019
};
2120

2221
export const createProject = ({
@@ -42,11 +41,9 @@ export const createProject = ({
4241
});
4342
const indexFile = project.addSourceFileAtPath(indexFilePath);
4443
project.resolveSourceFileDependencies();
45-
const sourceFiles = project.getSourceFiles();
4644
return ok({
4745
project,
4846
indexFile,
49-
sourceFiles,
5047
});
5148
} catch (e) {
5249
return err(new ProjectError("failed to create project", { cause: e }));

0 commit comments

Comments
 (0)