Skip to content

Commit c622cd8

Browse files
committed
fix: add module type for ivy compatibility
Closes #1214 Closes #1218
1 parent 84a6ca9 commit c622cd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/angular-calendar/src/modules/calendar.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class CalendarModule {
4949
static forRoot(
5050
dateAdapter: Provider,
5151
config: CalendarModuleConfig = {}
52-
): ModuleWithProviders {
52+
): ModuleWithProviders<CalendarModule> {
5353
return {
5454
ngModule: CalendarModule,
5555
providers: [

projects/angular-calendar/src/modules/common/calendar-common.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class CalendarCommonModule {
9999
static forRoot(
100100
dateAdapter: Provider,
101101
config: CalendarModuleConfig = {}
102-
): ModuleWithProviders {
102+
): ModuleWithProviders<CalendarCommonModule> {
103103
return {
104104
ngModule: CalendarCommonModule,
105105
providers: [

0 commit comments

Comments
 (0)