tracked-tools/tracked-built-ins

Newer method(s) missing from TrackedArray type

Closed this issue · 3 comments

The types for TrackedArray don't include the newer (but fully supported) method findLast()

I think that means we just need to add it here, but not sure?

It may be worth doing a general review of all the built-ins to see what other methods have achieved full browser support since the initial implementation and ensuring those methods are properly accounted for since the built-ins are intended to have 1:1 functionality with their native counterparts.

@elwayman02 do you happen to have time to put into this? There are various aspects to TrackedArray that could use some love based on looking at issues ...

do you have a reproduction? TrackedArray uses the same types as Array -- so this smells like a tsconfig configuration issue more than anything