Skip to content

Commit

Permalink
fix: parsing regression between versions (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylorS authored Sep 11, 2023
1 parent 9cd0718 commit 172ac81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-pears-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/docgen": patch
---

Fix parsing regression caused by compilerOptions parsing
2 changes: 2 additions & 0 deletions src/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1104,12 +1104,14 @@ const createProject = (files: ReadonlyArray<FileSystem.File>) =>
{
compilerOptions: {
strict: true,
moduleResolution: "node",
...config.parseCompilerOptions
}
},
ast.ts.sys,
cwd
)

const options: ast.ProjectOptions = {
compilerOptions: parsed.options
}
Expand Down

0 comments on commit 172ac81

Please sign in to comment.