From 40412ddc1cc25198b218f4ee9ab40fd6dc584eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 19 Dec 2023 17:09:37 +0100 Subject: [PATCH] fix(ts) move dts file to types/ --- package.json | 3 ++- tsconfig.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0e4c2b4c04..909fe1640a 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "build:webpack": "LIB_JITSI_MEET_COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null) webpack", "build:webpack-dev": "webpack --mode development", "build:tsc": "tsc --build --clean && tsc", - "gen-types": "tsc --declaration --emitDeclarationOnly --out index.js", + "gen-types": "tsc --declaration --emitDeclarationOnly --out types/index.d.ts", "lint": "eslint .", "lint-fix": "eslint . --fix", "postinstall": "patch-package", @@ -81,6 +81,7 @@ }, "browser": "dist/umd/lib-jitsi-meet.min.js", "module": "dist/esm/JitsiMeetJS.js", + "types": "types/index.d.ts", "files": [ "dist", "types", diff --git a/tsconfig.json b/tsconfig.json index aa39d9c518..1b6fdca7f0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,6 @@ "**/*.spec.ts", "*.conf*.js", "index.js", - "index.d.ts", "lib-jitsi-meet.*.js", "webpack*.js", ]