ngneat/elf

The type signature of selectEntityByPredicate is wrong when ref and pluck options exist

0xDing opened this issue · 1 comments

Which @ngneat/elf-* package(s) are the source of the bug?

entities

Is this a regression?

No

Description

The type signature of selectEntityByPredicate is wrong when ref and pluck options exist

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/zhzslc?file=index.ts

Please provide the exception or error you saw

In minimal reproduction, the type of test$ should be Observable<CartItem['quantity']> instead of Observable<CartItem>.

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

No