Skip to content

Commit 46f7e88

Browse files
committed
fix(TS) Include all files in browser-detection for type declaration
1 parent dff403e commit 46f7e88

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828
},
2929
"scripts": {
3030
"lint": "eslint .",
31-
"build": "tsc --project tsconfig.json",
3231
"gen-types": "tsc --declaration --emitDeclarationOnly --outFile types/index.d.ts",
33-
"prepack": "npm run build && npm run gen-types"
32+
"prepack": "npm run gen-types"
3433
},
3534
"pre-commit": [
3635
"lint",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"strict": true
1010
},
1111
"include": [
12-
"./browser-detection/BrowserDetection.ts",
12+
"./browser-detection/*.ts",
1313
"json.ts"
1414
],
1515
"exclude": [

0 commit comments

Comments
 (0)