Skip to content

Commit

Permalink
reduce scope of isolatedDeclarations nag somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg committed Jul 12, 2024
1 parent 8601b1f commit e1f7b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/.build/src/tsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function tsc(): Promise<void> {
);
}
const o = ref.compilerOptions ?? {};
if (!o.isolatedDeclarations && (o.composite || o.declaration || o.emitDeclarationOnly))
if (!o.isolatedDeclarations && !o.noEmit && (o.composite || o.declaration || o.emitDeclarationOnly))
env.log(`[${c.grey(module)}] - Convert to ${c.yellow('isolatedDeclarations')}`, { ctx: 'tsc' });
}

Expand Down

0 comments on commit e1f7b86

Please sign in to comment.