Function loadDefault

  • Loads the default exported module from some JS with the defined scope and module.

    Returns

    The loaded component.

    Type Parameters

    • DefaultType

    Parameters

    • scope: string

      The scope of the module to load.

    • module: string

      The name of the module to load.

    Returns (() => Promise<{ default: DefaultType }>)

      • (): Promise<{ default: DefaultType }>
      • Returns Promise<{ default: DefaultType }>

Generated using TypeDoc