Skip to content

wevu / index / SetupFunction

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

SetupFunction<P, D, C, M, R> = (props, ctx) => R

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

类型参数

P

P extends ComponentPropsOptions

D

D extends object

C

C extends ComputedDefinitions

M

M extends MethodDefinitions

R

R extends Record<string, any> | void = Record<string, any> | void

参数

props

InferProps<P>

ctx

SetupContext<D, C, M, P>

返回

R

Released under the MIT License.