File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 },
2020 "exports" : {
2121 "." : {
22- "default " : " ./lib/single-spa-angular.js " ,
23- "types " : " ./lib/single-spa-angular.d.ts "
22+ "types " : " ./lib/single-spa-angular.d.ts " ,
23+ "default " : " ./lib/single-spa-angular.js "
2424 },
2525 "./package.json" : " ./package.json"
2626 },
Original file line number Diff line number Diff line change 1- import { Application , AppProps , ParcelConfigObject } from "single-spa" ;
1+ import { AppProps , LifeCycles } from "single-spa" ;
22import { chooseDomElementGetter } from "dom-element-getter-helpers" ;
33import { ApplicationConfig , Type } from "@angular/core" ;
44
55export function singleSpaAngular < Props > (
66 opts : SingleSpaAngularOpts < Props > ,
7- ) : Application < Props > | ParcelConfigObject < Props > {
7+ ) : LifeCycles < Props > {
88 let applicationRef : Destroyable | null = null ;
99 let selectorElement : HTMLElement | null = null ;
1010 const selector = opts . selector ?? opts . rootComponent [ "ɵcmp" ] ?. selectors ?. [ 0 ] ;
You can’t perform that action at this time.
0 commit comments