Skip to content

Commit

Permalink
chore: fix typescript error by getting the types from core package
Browse files Browse the repository at this point in the history
  • Loading branch information
wasimTQ committed Jan 7, 2024
1 parent c69b8a4 commit ea2b1c8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"clsx": "^2.0.0",
"codesandbox": "^2.2.3",
"date-fns": "^2.30.0",
"embla-carousel": "8.0.0-rc19",
"embla-carousel-autoplay": "8.0.0-rc18",
"embla-carousel-vue": "8.0.0-rc18",
"lucide-vue-next": "^0.276.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/lib/registry/default/ui/carousel/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {
EmblaCarouselType as CarouselApi,
EmblaOptionsType as CarouselOptions,
EmblaPluginType as CarouselPlugin,
} from 'embla-carousel-vue'
} from 'embla-carousel'

export interface CarouselProps {
opts?: CarouselOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {
EmblaCarouselType as CarouselApi,
EmblaOptionsType as CarouselOptions,
EmblaPluginType as CarouselPlugin,
} from 'embla-carousel-vue'
} from 'embla-carousel'

export interface CarouselProps {
opts?: CarouselOptions
Expand Down
13 changes: 10 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea2b1c8

Please sign in to comment.