Type Alias ExoClassMethods<M, I>

ExoClassMethods<M, I>: M & ThisType<{
    self: Guarded<M>;
    state: ReturnType<I>;
}>

Rearrange the Exo types to make a cast of the methods (M) and init function (I) to a specific type.

Type Parameters

  • M extends Methods
  • I extends ((...args: any[]) => any)