Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update getTSConfigCompilerOptions to handle TypeScript >= 5.4, r…
…esolves issue introduced by #40 This commit updates the getTSConfigCompilerOptions function to handle TypeScript versions 5.4 and above. It introduces a conditional check to determine the TypeScript version and uses the appropriate parsing method accordingly. For TypeScript versions 5.4 and above, it reads the tsconfig file, parses the JSON config, and retrieves the compiler options. It also adds a log grouping to display the parsed compiler options when the TypeScript version is 5.4 or above.
- Loading branch information