remix-run / history

Manage session history with JavaScript
MIT License
8.3k stars 960 forks source link

Fix for #925 #926

Closed sathiya-pyramidions closed 2 years ago

sathiya-pyramidions commented 2 years ago

This PR fixes the issue #925 where unknown is used as type instead of object | null / any.

timdorr commented 2 years ago

Thanks, but this was an intentional change in 5.2.0: https://github.com/remix-run/history/releases/tag/v5.2.0