Skip to content

Commit

Permalink
chore(babel-config): Fix incorrect internal type for tsconfig paths o…
Browse files Browse the repository at this point in the history
…ption (#11313)

Spotted this the other day and thought it didn't quite look right. It's
only an internal type used in that one file so this is just a tiny
little chore.
  • Loading branch information
Josh-Walker-GM authored Aug 19, 2024
1 parent 75cc37c commit 9d45248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-config/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const parseTypeScriptConfigFiles = () => {
}

type CompilerOptionsForPaths = {
compilerOptions: { baseUrl: string; paths: string }
compilerOptions: { baseUrl: string; paths: Record<string, string[]> }
}
/**
* Extracts and formats the paths from the [ts|js]config.json file
Expand Down

0 comments on commit 9d45248

Please sign in to comment.