Skip to content

Commit 5a83cec

Browse files
authored
Merge pull request #130 from danielroe/vue-augment
fix: augment `vue` rather than `@vue/runtime-core`
2 parents 9aede75 + 5646b26 commit 5a83cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ library.add(
4040

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

0 commit comments

Comments
 (0)