Skip to content

Commit

Permalink
Merge pull request #130 from danielroe/vue-augment
Browse files Browse the repository at this point in the history
fix: augment `vue` rather than `@vue/runtime-core`
  • Loading branch information
dlevitas authored Aug 20, 2024
2 parents 9aede75 + 5646b26 commit 5a83cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ library.add(

//move to ./types?
//tell typescript about some global properties we are adding
declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
$validate: (data: object, rule: object) => boolean
$store: typeof store
Expand Down

0 comments on commit 5a83cec

Please sign in to comment.