Skip to content

Commit 78a15f0

Browse files
author
Jolyn Denning
authored
Fix types again (#542)
1 parent 3d958ae commit 78a15f0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
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
},

src/single-spa-angular.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Application, AppProps, ParcelConfigObject } from "single-spa";
1+
import { AppProps, LifeCycles } from "single-spa";
22
import { chooseDomElementGetter } from "dom-element-getter-helpers";
33
import { ApplicationConfig, Type } from "@angular/core";
44

55
export 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];

0 commit comments

Comments
 (0)