Skip to main content

Ƭ Instances<T, K>: { [I in keyof K]: K[I] extends Constructor<infer U> ? U : K[I] extends Constructor<infer U2>[] ? U2[] : never}

Represents the facet instance tuple passed to query loop callbacks.

T = user array of type constructors K = T as an ordered tuple I = index of K tuple K[I] = type constructor from K U = type produced by K[I]

Resulting tupled types:

  • Stripped of Component properties.
  • Stripped of all methods.
  • All properties made non-optional.

K is defined as refactoring to void typing Constructors<T> or readonly [...T] everywhere.

Type parameters:#


Defined in: libs/core/src/lib/utils.ts:34