ExoClassMethods<M, I>: M & ThisType<{
    self: Guarded;
    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)