Skip to content

Commit

Permalink
fix: add module type for ivy compatibility
Browse files Browse the repository at this point in the history
Closes #1214
Closes #1218
  • Loading branch information
mattlewis92 committed Apr 12, 2020
1 parent 84a6ca9 commit c622cd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/angular-calendar/src/modules/calendar.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class CalendarModule {
static forRoot(
dateAdapter: Provider,
config: CalendarModuleConfig = {}
): ModuleWithProviders {
): ModuleWithProviders<CalendarModule> {
return {
ngModule: CalendarModule,
providers: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class CalendarCommonModule {
static forRoot(
dateAdapter: Provider,
config: CalendarModuleConfig = {}
): ModuleWithProviders {
): ModuleWithProviders<CalendarCommonModule> {
return {
ngModule: CalendarCommonModule,
providers: [
Expand Down

0 comments on commit c622cd8

Please sign in to comment.