Skip to content

Commit

Permalink
fix: augment vue rather than @vue/runtime-core (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Aug 16, 2024
1 parent 2da37f2 commit eb7c01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface SpringControls {

export type MotionInstanceBindings<T extends string, V extends MotionVariants<T>> = Record<string, MotionInstance<T, V>>

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
$motions?: MotionInstanceBindings<any, any>
}
Expand Down

0 comments on commit eb7c01d

Please sign in to comment.