File tree 1 file changed +3
-2
lines changed
nativescript-angular/router 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ export class NSModuleFactoryLoader implements NgModuleFactoryLoader {
37
37
return this . loadAndCompile ( path , true ) ;
38
38
}
39
39
40
- private loadAndCompile ( path : string , includeComponents ?: boolean ) : Promise < NgModuleFactory < any > | ModuleWithComponentFactories < any > > {
40
+ private loadAndCompile ( path : string , includeComponents ?: boolean ) :
41
+ Promise < NgModuleFactory < any > | ModuleWithComponentFactories < any > > {
41
42
let { modulePath, exportName} = splitPath ( path ) ;
42
43
43
44
let loadedModule = global . require ( modulePath ) [ exportName ] ;
@@ -47,7 +48,7 @@ export class NSModuleFactoryLoader implements NgModuleFactoryLoader {
47
48
return Promise . resolve ( this . compiler . compileModuleAndAllComponentsAsync ( loadedModule ) ) ;
48
49
} else {
49
50
return Promise . resolve ( this . compiler . compileModuleAsync ( loadedModule ) ) ;
50
- }
51
+ }
51
52
}
52
53
53
54
}
You can’t perform that action at this time.
0 commit comments