Skip to content

Commit 1e563b6

Browse files
committed
fix(package): Undefined provider fails prod build
1 parent f7cde52 commit 1e563b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module/ngx-auth-firebase-u-i.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const UserProvidedConfigToken = new InjectionToken<NgxAuthFirebaseUIConfi
138138
export class NgxAuthFirebaseUIModule {
139139
static forRoot(
140140
configFactory: FirebaseAppConfig,
141-
appNameFactory?: () => string,
141+
appNameFactory: () => string | undefined = () => undefined,
142142
config: NgxAuthFirebaseUIConfig = {}
143143
): ModuleWithProviders {
144144
return {

0 commit comments

Comments
 (0)