platform icon indicating copy to clipboard operation
platform copied to clipboard

updater-explicit-return-type No longer needed with NoInfer

Open david-shortman opened this issue 1 year ago • 2 comments

Which @ngrx/* package(s) are relevant/related to the feature request?

component-store

Information

I'm pretty sure with NoInfer in TS 5.4 that we can avoid the problem of needing explicit return types for updaters. This may be true other places in other packages, too.

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • [X] Yes
  • [ ] No

david-shortman avatar Mar 24 '24 00:03 david-shortman

This will be something to test if NoInfer does fix this issue. If it does we can indeed remove the two (I think) rules.

timdeschryver avatar Apr 04 '24 12:04 timdeschryver

I played with no infer recently and I don't think it solves it...

Harpush avatar May 05 '24 21:05 Harpush