Skip to content

Commit 3c3e2a1

Browse files
committed
fix: vue props extraction helper
1 parent 586de41 commit 3c3e2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index_pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const TYPES_EXTRACTION_HELPER = {
3333
vue3: `import type { VNodeProps, AllowedComponentProps, ComponentInstance } from 'vue'
3434
3535
type ExtractProps<T> = Omit<
36-
ComponentInstance<T>['$props'][K],
36+
ComponentInstance<T>['$props'],
3737
keyof VNodeProps | keyof AllowedComponentProps
3838
>`,
3939
react: `import type React from 'react'

0 commit comments

Comments
 (0)