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 6e4e949 commit 64b16ffCopy full SHA for 64b16ff
src/component/componentOptions.ts
@@ -32,11 +32,11 @@ export interface MethodOptions {
32
[key: string]: Function
33
}
34
35
-export type SetupFunction<Props, RawBindings> = (
+export type SetupFunction<Props, RawBindings = {}> = (
36
this: void,
37
props: Props,
38
ctx: SetupContext
39
-) => RawBindings | (() => VNode | null)
+) => RawBindings | (() => VNode | null) | void
40
41
interface ComponentOptionsBase<
42
Props,
0 commit comments