Skip to content

Commit

Permalink
Allow .d.ts with --isolatedModules
Browse files Browse the repository at this point in the history
Fixes #29490
  • Loading branch information
sheetalkamat committed Sep 11, 2019
1 parent c0f0d9f commit 07b9715
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/compiler/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2808,10 +2808,6 @@ namespace ts {
}

if (options.isolatedModules) {
if (getEmitDeclarations(options)) {
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, getEmitDeclarationOptionName(options), "isolatedModules");
}

if (options.out) {
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "out", "isolatedModules");
}
Expand Down

This file was deleted.

0 comments on commit 07b9715

Please sign in to comment.