Skip to content

Commit df936d5

Browse files
authored
fix(components-react): fixed types path (#5358)
## 📄 Description Fixes path to types for the component-react package.
1 parent b770b71 commit df936d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/honest-apes-hammer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-components-react': patch
3+
---
4+
5+
Fixed path to types file, errors like "Could not find a declaration file for module X" should now be gone.

packages/components-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"main": "dist/index.js",
24-
"types": "dist/index.d.ts",
24+
"types": "dist/types/index.d.ts",
2525
"scripts": {
2626
"build": "pnpm run clean && tsc -p .",
2727
"clean": "rimraf dist",

0 commit comments

Comments
 (0)