Skip to content

Commit 4114bd3

Browse files
committed
feat: expose BootstrapContext on bootstrapApplication
1 parent 063d7ba commit 4114bd3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/angular/src/lib/platform-nativescript.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,14 @@ function createProvidersConfig(options?: ApplicationConfig, context?: BootstrapC
155155
};
156156
}
157157

158-
export function bootstrapApplication(rootComponent: Type<any>, options?: ApplicationConfig) {
158+
export function bootstrapApplication(
159+
rootComponent: Type<any>,
160+
options?: ApplicationConfig,
161+
context?: BootstrapContext,
162+
) {
159163
return ɵinternalCreateApplication({
160164
rootComponent: rootComponent,
161-
...createProvidersConfig(options),
165+
...createProvidersConfig(options, context),
162166
});
163167
}
164168

0 commit comments

Comments
 (0)