MrWolfZ / ngrx-forms

Enhance your forms in Angular applications with the power of ngrx
MIT License
374 stars 111 forks source link

Add compatibility with Typescript 5 #309

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe the bug We are upgrading on Angular to Typescript 5.0.0, we are gettig he following error when upgrading:

peer typescript@">=4.2.3" from ngrx-forms@8.0.0
npm WARN node_modules/ngrx-forms
npm WARN   ngrx-forms@"^8.0.0" from the root project

And the process block at that level

To Reproduce Steps to reproduce the behavior:

  1. Create an angular application with typescript 5.0.0 or update typescript to 5 in an existing angular project.
  2. Add ngrx-fomrs V8, the current latest.
  3. Run npm i
  4. The error should be visible in the logs

Expected behavior The updates should be smooth and emit not a warning regarding ngrxforms

Library version: 8.0.0