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",