From 2ab62adbfaf69e3e74c0a90dcdd7ea48fb21f17e Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Wed, 16 Sep 2020 00:22:43 -0400 Subject: [PATCH] fix: remove extraneous declaration in relatedTo - it was specified twice, once grouped with types and typeRoots for some reason and missing declarationDir - so remove that one, leave in the one that has both declarationDir _and_ emitDeclarationOnly - second one that remains is ~5 lines below this --- packages/tsconfig-reference/scripts/tsconfigRules.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/tsconfig-reference/scripts/tsconfigRules.ts b/packages/tsconfig-reference/scripts/tsconfigRules.ts index b2b99b02f76a..abf2feba2a65 100644 --- a/packages/tsconfig-reference/scripts/tsconfigRules.ts +++ b/packages/tsconfig-reference/scripts/tsconfigRules.ts @@ -72,7 +72,6 @@ export const relatedTo: [AnOption, AnOption[]][] = [ ["types", ["typeRoots"]], ["typeRoots", ["types"]], - ["declaration", ["emitDeclarationOnly"]], ["noLib", ["lib"]],