We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954af5c commit 0ff36a7Copy full SHA for 0ff36a7
packages/devtools-utils/src/vue/plugin.ts
@@ -4,16 +4,15 @@ import type { DefineComponent } from 'vue'
4
export function createVuePlugin<TComponentProps extends Record<string, any>>(
5
name: string,
6
component: DefineComponent<TComponentProps, {}, unknown>,
7
- props: TComponentProps,
8
) {
9
- function Plugin() {
+ function Plugin(props: TComponentProps) {
10
return {
11
name,
12
component,
13
props,
14
}
15
16
- function NoOpPlugin(props: Record<string, any>) {
+ function NoOpPlugin(props: TComponentProps) {
17
18
19
component: Fragment,
0 commit comments