Skip to content

Commit eb670ce

Browse files
committed
chore: fix typo
1 parent 951e25f commit eb670ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: nativescript-angular/router/page-router-outlet.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function destroyComponentRef(componentRef: ComponentRef<any>) {
4848
}
4949
}
5050

51-
class DestructableInjector implements Injector {
51+
class DestructibleInjector implements Injector {
5252
private refs = new Set<any>();
5353
constructor(private destructableProviders: ProviderSet, private parent: Injector) {
5454
}
@@ -354,7 +354,7 @@ export class PageRouterOutlet implements OnDestroy { // tslint:disable-line:dire
354354
parent: this.location.injector
355355
});
356356

357-
const childInjector = new DestructableInjector(destructables, injector);
357+
const childInjector = new DestructibleInjector(destructables, injector);
358358
const loaderRef = this.location.createComponent(
359359
this.detachedLoaderFactory, this.location.length, childInjector, []);
360360
loaderRef.onDestroy(() => childInjector.destroy());

0 commit comments

Comments
 (0)