From 5b4de24e6417c43c412cf9c4ab17c3e8145ae0d3 Mon Sep 17 00:00:00 2001 From: labkey-nicka Date: Thu, 19 Mar 2026 15:32:57 -0700 Subject: [PATCH] Specify client library paths in tsconfig.json --- elisa/tsconfig.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/elisa/tsconfig.json b/elisa/tsconfig.json index 51a3abbe1..f2776d1cc 100644 --- a/elisa/tsconfig.json +++ b/elisa/tsconfig.json @@ -1,5 +1,13 @@ { "extends": "./node_modules/@labkey/build/webpack/tsconfig.json", + "compilerOptions": { + "paths": { + // Point to the dist/lib folder where the .d.ts files are output + "@labkey/api": ["../../../../clientAPIs/labkey-api-js/dist/index"], + "@labkey/components": ["../../../../clientAPIs/labkey-ui-components/packages/components/dist/index"], + "@labkey/premium": ["../../../../clientAPIs/labkey-ui-premium/dist/index"], + }, + }, "include": ["src/client/**/*"], - "exclude": ["node_modules"] + "exclude": ["node_modules"], }