Skip to content

Commit c722fd8

Browse files
saghuljallamsetty1
authored andcommittedDec 19, 2023
fix(ts) move dts file to types/
1 parent a519f18 commit c722fd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"build:webpack": "LIB_JITSI_MEET_COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null) webpack",
7070
"build:webpack-dev": "webpack --mode development",
7171
"build:tsc": "tsc --build --clean && tsc",
72-
"gen-types": "tsc --declaration --emitDeclarationOnly --out index.js",
72+
"gen-types": "tsc --declaration --emitDeclarationOnly --out types/index.d.ts",
7373
"lint": "eslint .",
7474
"lint-fix": "eslint . --fix",
7575
"postinstall": "patch-package",
@@ -81,6 +81,7 @@
8181
},
8282
"browser": "dist/umd/lib-jitsi-meet.min.js",
8383
"module": "dist/esm/JitsiMeetJS.js",
84+
"types": "types/index.d.ts",
8485
"files": [
8586
"dist",
8687
"types",

‎tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"**/*.spec.ts",
2323
"*.conf*.js",
2424
"index.js",
25-
"index.d.ts",
2625
"lib-jitsi-meet.*.js",
2726
"webpack*.js",
2827
]

0 commit comments

Comments
 (0)
Please sign in to comment.