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 {
4646 /**
4747 * Use this method in your root module to provide the TranslateService
4848 */
49- static forRoot ( config : TranslateModuleConfig = { } ) : ModuleWithProviders {
49+ static forRoot ( config : TranslateModuleConfig = { } ) : ModuleWithProviders < TranslateModule > {
5050 return {
5151 ngModule : TranslateModule ,
5252 providers : [
@@ -66,7 +66,7 @@ export class TranslateModule {
6666 /**
6767 * Use this method in your other (non root) modules to import the directive/pipe
6868 */
69- static forChild ( config : TranslateModuleConfig = { } ) : ModuleWithProviders {
69+ static forChild ( config : TranslateModuleConfig = { } ) : ModuleWithProviders < TranslateModule > {
7070 return {
7171 ngModule : TranslateModule ,
7272 providers : [
You can’t perform that action at this time.
0 commit comments