Closed MikaKarjunen closed 3 weeks ago
This is a brilliant library and we'd love to keep using it. I hope we can come up with a solution of some sort.
Seems like doing Omit<IEnumerable<TSource>, typeof Symbol.iterator> {
does the trick
Will try to push out 12.0.0-beta before end of week
Seems like doing
Omit<IEnumerable<TSource>, typeof Symbol.iterator> {
does the trickWill try to push out 12.0.0-beta before end of week
That would be just brilliant!
See if this works, https://www.npmjs.com/package/linq-to-typescript/v/12.0.0-beta1
See if this works, https://www.npmjs.com/package/linq-to-typescript/v/12.0.0-beta1 Seems to work just fine. No issues at all.
As far as I'm concerned this issue is now closed.
When trying to compile using typescript 5.6.x the following error message is shown.
error TS2320: Interface 'ArrayEnumerable' cannot simultaneously extend types 'TSource[]' and 'IEnumerable'.
Named property '[Symbol.iterator]' of types 'TSource[]' and 'IEnumerable' are not identical.