From c4bc7599961a179eebd1bdb44a19e5e7126252f0 Mon Sep 17 00:00:00 2001 From: James Salter Date: Tue, 3 Aug 2021 07:23:31 +0100 Subject: [PATCH] Include posthog sentry types override Duplicating this config from matrix-react-sdk is necessary because the element-web lint process is also type checking matrix-react-sdk --- tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e16688adb3..3f11a4ab72 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,12 @@ "es2019", "dom", "dom.iterable" - ] + ], + "paths": { + "posthog-js": [ + "../matrix-react-sdk/src/@types/posthog.d.ts" + ] + } }, "include": [ "./src/**/*.ts",