File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/ngx-translate/core/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class TranslateModule {
46
46
/**
47
47
* Use this method in your root module to provide the TranslateService
48
48
*/
49
- static forRoot ( config : TranslateModuleConfig = { } ) : ModuleWithProviders {
49
+ static forRoot ( config : TranslateModuleConfig = { } ) : ModuleWithProviders < TranslateModule > {
50
50
return {
51
51
ngModule : TranslateModule ,
52
52
providers : [
@@ -66,7 +66,7 @@ export class TranslateModule {
66
66
/**
67
67
* Use this method in your other (non root) modules to import the directive/pipe
68
68
*/
69
- static forChild ( config : TranslateModuleConfig = { } ) : ModuleWithProviders {
69
+ static forChild ( config : TranslateModuleConfig = { } ) : ModuleWithProviders < TranslateModule > {
70
70
return {
71
71
ngModule : TranslateModule ,
72
72
providers : [
You can’t perform that action at this time.
0 commit comments