AIDC Toolkit / Core / TypedFunction
Type Alias: TypedFunction()<TFunction> ​
TypedFunction<
TFunction> = (...args) =>ReturnType<TFunction>
Defined in: type.ts:7
Typed function, applicable to any function, stricter than Function.
Type Parameters ​
TFunction ​
TFunction extends (...args) => ReturnType<TFunction>
Function type.
Parameters ​
args ​
...Parameters<TFunction>
Returns ​
ReturnType<TFunction>