ng generate library adds tsickle 0.36.0 dependency, incompatible to typescript 3.5 #15428
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 Bug report
Description
@angular/[email protected]
ng new creates a project for an app, with a dependency to typescript 3.5
ng generate library adds a dependency to tsickle 0.36.0, which is incompatible to typescript 3.5.
as a consequence library providers cannot use typescript 3.5.
Removing the dependency to tsickle will brake ng build my-lib
So either tsickle should be made compatible to typescript 3.5, or the dependency to tsickle should be removed.
also see angular/tsickle#1048
🔬 Minimal Reproduction
ng new lib-test cd lib-test ng generate library my-lib
🔥 Exception or Error
If i remove tsickle manually, ng build will not run anymore:
🌍 Your Environment
The text was updated successfully, but these errors were encountered: