From c475c6136cbc37441c436b15d1209af3acef2e52 Mon Sep 17 00:00:00 2001 From: Alex Sanders Date: Thu, 14 Dec 2023 17:01:14 +0000 Subject: [PATCH] need this then --- dotcom-rendering/tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotcom-rendering/tsconfig.json b/dotcom-rendering/tsconfig.json index 1790fa0e519..a64b7bf1c1b 100644 --- a/dotcom-rendering/tsconfig.json +++ b/dotcom-rendering/tsconfig.json @@ -10,6 +10,10 @@ "noEmit": true, "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, + "paths": { + /* Aliases should also be added to the webpack, babel and jest configurations */ + "*": ["node_modules/@types/*", "*"] // Make sure that yarn linking doesn't confuse things https://github.com/microsoft/TypeScript/issues/11916#issuecomment-257130001 + }, "preserveConstEnums": true }, "exclude": [