Skip to content

Type Alias: LazyImport()<T> ​

ts
type LazyImport<T> = () => Promise<{
  default: Constructor<T>;
}>;

Lazy import type for controllers

Type Parameters ​

Type Parameter
T

Returns ​

Promise<{ default: Constructor<T>; }>