Skip to main content

Action

Type Aliases

Action

type Action<T1, T2> = [T1] extends [void]
? () => any
: [T2] extends [void]
? (arg) => any
: (arg1, arg2) => any;

Type Parameters

Type ParameterDefault type
T1void
T2void
Was this page helpful?