Skip to content

Commit 8659e2f

Browse files
ErikCHErik Hanchett
andauthored
fix(vue): Fix TS definitions (#2296)
* Fix tsconfig vue * Added correct location of definition file * Updated text Co-authored-by: Erik Hanchett <[email protected]>
1 parent ddd0ff0 commit 8659e2f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/dull-melons-attend.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@aws-amplify/ui-vue': patch
3+
---
4+
5+
6+
Vue library had a bug that was causing types to not show correctly. This fix corrects the package.json to point to the correct definition file.

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"browser": {
1212
"./styles.css": "./dist/style.css"
1313
},
14-
"types": "dist/index.d.ts",
14+
"types": "dist/src/index.d.ts",
1515
"license": "Apache-2.0",
1616
"repository": {
1717
"type": "git",

0 commit comments

Comments
 (0)