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 10, 2019
1 parent 686e9a4 commit 3558179
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 @@ -2809,10 +2809,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 3558179

Please sign in to comment.