Skip to content

Commit

Permalink
fix: augment vue rather than @vue/runtime-core
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 20, 2024
1 parent 9f3080e commit 5646b26
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 5646b26

Please sign in to comment.