Skip to content

wevu / index / SetupFunction

类型别名: SetupFunction()<P, D, C, M>

SetupFunction<P, D, C, M> = (props, ctx) => Record<string, any> | void

定义于: packages/wevu/src/runtime/types.ts:370

类型参数

P

P extends ComponentPropsOptions

D

D extends object

C

C extends ComputedDefinitions

M

M extends MethodDefinitions

参数

props

InferProps<P>

ctx

SetupContext<D, C, M, P>

返回

Record<string, any> | void

Released under the MIT License.