From 1c521f601f1b09a3b2f44b68ef16dbd2f1757ecc Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 8 Sep 2022 09:29:56 +0500 Subject: [PATCH] mobile: add path for packages in tsconfig --- apps/mobile/tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/mobile/tsconfig.json b/apps/mobile/tsconfig.json index 8c84a4286..1dd8064ea 100644 --- a/apps/mobile/tsconfig.json +++ b/apps/mobile/tsconfig.json @@ -7,7 +7,10 @@ "jsx": "react-native", "noEmit": true, "maxNodeModuleJsDepth": 6, - "types": ["node", "jest", "detox"] + "types": ["node", "jest", "detox"], + "paths": { + "@notesnook/*": ["../../packages"] + } }, "exclude": ["native"] }