Merge pull request #2316 from hsldymq/fix-app-global-prop-vue3

fix global prop type definition in Vue 3
pull/2322/head
Tuğçe Küçükoğlu 2022-03-15 16:42:59 +03:00 committed by GitHub
commit d12996763c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -62,3 +62,11 @@ declare module 'vue/types/vue' {
} }
} }
} }
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$primevue: {
config: PrimeVueConfiguration;
}
}
}