Skip to content

Commit

Permalink
fix: add missing generic type to angular module
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyQQQQ authored and tinesoft committed Jul 15, 2020
1 parent 845af1a commit 7a44f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cookieconsent.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { WindowService, NgcCookieConsentConfig, NgcCookieConsentService } from '
})
export class NgcCookieConsentModule {

static forRoot(config: NgcCookieConsentConfig): ModuleWithProviders {
static forRoot(config: NgcCookieConsentConfig): ModuleWithProviders<NgcCookieConsentModule> {
return {
ngModule: NgcCookieConsentModule,
providers: [WindowService, { provide: NgcCookieConsentConfig, useValue: config }, NgcCookieConsentService]
Expand Down

0 comments on commit 7a44f3f

Please sign in to comment.