Type Alias GeneralFunction<Args, ReturnType>

GeneralFunction: (...args: Args) => ReturnType

general function in typescript

Type Parameters

  • Args extends any[] = any[]
  • ReturnType extends any = any

Type declaration