I'm in the process of upgrading an Angular 2 app from RC5 to RC7. @angular/forms package version is 0.3.0, and I could not find a newer one.
Still, in 2.0.0-rc.6 the Type
declaration was deprecated in favour of Type<T>
. But it looks like forms package needs to be updated, as now when building I got a bunch of errors like:
ERROR in [default] path/to/my/project/node_modules/@angular/forms/src/directives.d.ts:26:45 Generic type 'Type' requires 1 type argument(s).
Does anyone know if there's a newer version of forms package? By listing with npm show @angular/forms@* version
it seems not:
@angular/forms@0.1.0 '0.1.0'
@angular/forms@0.1.1 '0.1.1'
@angular/forms@0.2.0 '0.2.0'
@angular/forms@0.3.0 '0.3.0'
Is there any other workaround? Although being all release candidates, it seems strange that such a crucial package has been left behind for 2 RC versions.
TA
Make sure with RC7 you have following package.json file