Skip to content

Commit

Permalink
feat: add types import and export from @motionone/dom
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Jan 5, 2024
1 parent ed2fc37 commit e97bf33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./types": {
"types": "./dist/index.d.ts"
}
},
"module": "./dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { default as Motion } from './component/Motion.vue'
export { default as Presence } from './component/Presence.vue'
export { default as PresenceGroup } from './component/PresenceGroup.vue'

export * from '@motionone/dom'
1 change: 1 addition & 0 deletions packages/vue/src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@motionone/types'

0 comments on commit e97bf33

Please sign in to comment.