fix global prop type definition in Vue 3

pull/2316/head
hsldymq 2022-03-15 17:23:06 +08:00
parent a01cfc8747
commit 607dfce13e
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;
}
}
}