Skip to content

Commit

Permalink
chore: Add additional check
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsharvey committed Dec 12, 2024
1 parent 048504a commit b32e24e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/js/src/utils/typescript/run-type-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ async function setupTypeScript(options: TypeCheckOptions) {
const dfltStructure =
options.mode === 'emitDeclarationOnly'
? options.projectRoot &&
options.outDir &&
rootDirIsWorkspaceRoot &&
path.normalize(options.outDir).endsWith(_projectRoot)
: undefined;
Expand Down

0 comments on commit b32e24e

Please sign in to comment.