Skip to content

Commit

Permalink
fix: windows posix path
Browse files Browse the repository at this point in the history
  • Loading branch information
YiJie committed Nov 21, 2024
1 parent abd0c99 commit 4d7e662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function getCompilerOptions(
compilerOptions: ts.CompilerOptions;
projectReferences?: readonly ts.ProjectReference[];
} {
input = input.split("\\").join("/");
const compilerOptions = { ...DEFAULT_OPTIONS, ...overrideOptions };
let dirName = path.dirname(input);
let dtsFiles: Array<string> = [];
Expand Down

0 comments on commit 4d7e662

Please sign in to comment.