sample-cross-fx 0.15.0-beta.4815 → 0.15.0-beta.4820

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/index.d.ts CHANGED
@@ -610,9 +610,7 @@ export interface NgModuleDefiner {
610
610
  * @param opts The options to pass when bootstrapping.
611
611
  * @returns The module ID to be used to reference components.
612
612
  */
613
- <T>(getModule: () => Promise<{
614
- default: AngularCore.Type<T>;
615
- }>, opts?: NgOptions): NgComponentLoader;
613
+ <T>(getModule: LazyType<T>, opts?: NgOptions): NgComponentLoader;
616
614
  }
617
615
 
618
616
  export interface NgComponent {
@@ -993,6 +991,18 @@ export interface BaseExtensionSlotProps<TName, TParams> {
993
991
  */
994
992
  export type NgOptions = Parameters<AngularCore.PlatformRef["bootstrapModule"]>[1];
995
993
 
994
+ /**
995
+ * The lazy loading interface for retrieving Angular components.
996
+ */
997
+ export interface LazyType<T> {
998
+ /**
999
+ * Callback to be invoked for lazy loading an Angular module or component.
1000
+ */
1001
+ (): Promise<{
1002
+ default: AngularCore.Type<T>;
1003
+ }>;
1004
+ }
1005
+
996
1006
  /**
997
1007
  * Gives you the ability to use a component from a lazy loaded module.
998
1008
  */
@@ -63711,12 +63711,12 @@ function installPiralDebug(options) {
63711
63711
  debug: debugApiVersion,
63712
63712
  instance: {
63713
63713
  name: "sample-cross-fx",
63714
- version: "0.15.0-beta.4815",
63714
+ version: "0.15.0-beta.4820",
63715
63715
  dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
63716
63716
  },
63717
63717
  build: {
63718
- date: "2022-11-14T10:58:17.074Z",
63719
- cli: "0.15.0-beta.4815",
63718
+ date: "2022-11-15T22:36:36.139Z",
63719
+ cli: "0.15.0-beta.4820",
63720
63720
  compat: "0.15"
63721
63721
  }
63722
63722
  };
@@ -216353,4 +216353,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
216353
216353
 
216354
216354
  /******/ })()
216355
216355
  ;
216356
- //# sourceMappingURL=index.2f5618.js.map
216356
+ //# sourceMappingURL=index.d1134f.js.map