Skip to content

Commit 74fbec8

Browse files
committed
wip
1 parent 1cbc953 commit 74fbec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/src/apiDefineComponent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export type DefineComponent<
100100
directives?: Directives & GlobalDirectives
101101
expose?: Exposed[]
102102
provide?: Provide
103-
setup?: (props: any, ctx: SetupContext) => RawBindings
104-
data?: (vm: any) => D
103+
setup?: (props: any, ctx: SetupContext) => RawBindings & {}
104+
data?: (vm: any) => D & {}
105105
__typeProps?: OptionsOrPropsOrPropOptions extends ComponentPropsOptions
106106
? unknown
107107
: OptionsOrPropsOrPropOptions

0 commit comments

Comments
 (0)