@vue-flow/monorepo • Docs
Type Alias: CustomEvent()<Args, Return> ​
CustomEvent<
Args
,Return
>: (...args
) =>Return
To type Args
(the event callback arguments) pass an array as argument list as first generic type To type Return
(the event callback return value) pass a value to the second generic type
Type Parameters ​
• Args extends any
[] = any
[]
• Return = any
Parameters ​
• ...args: Args
Returns ​
Return