File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ function addIterableToAngularProjects(existingConfig) {
5050 var hasAngular = Object . keys ( dependencies ) . includes ( "nativescript-angular" ) ;
5151 var hasRelevantAngularVersion = / [ 4 - 9 ] \. \d + \. \d + / i. test ( dependencies [ "@angular/core" ] ) ;
5252 if ( hasAngular && hasRelevantAngularVersion ) {
53+ console . log ( "Adding 'es2015.iterable' lib to tsconfig.json..." ) ;
5354 addTsLib ( existingConfig , "es2015.iterable" ) ;
5455 }
5556}
@@ -78,7 +79,9 @@ function addDomLibs(existingConfig) {
7879 }
7980
8081 if ( hasRelevantModulesDependency ( ) || hasRelevantModulesPackage ( ) ) {
82+ console . log ( "Adding 'es6' lib to tsconfig.json..." ) ;
8183 addTsLib ( existingConfig , "es6" ) ;
84+ console . log ( "Adding 'dom' lib to tsconfig.json..." ) ;
8285 addTsLib ( existingConfig , "dom" ) ;
8386 }
8487}
You can’t perform that action at this time.
0 commit comments