You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a TS interface error since the version 6.4.2 of react-router-dom lib
The History interface differs from the one used in react-router-dom since version "1.0.3-pre.1" of @remix-run/router
TS error is : TS2741: Property 'encodeLocation' is missing in type 'import("{...}/node_modules/history/index").History' but required in type 'import("{...}/node_modules/react-router-dom/node_modules/@remix-run/router/dist/history").History'.
The text was updated successfully, but these errors were encountered:
There is a TS interface error since the version 6.4.2 of react-router-dom lib
The History interface differs from the one used in react-router-dom since version "1.0.3-pre.1" of @remix-run/router
The change comes from this PR : https://github.com/remix-run/react-router/pull/9496/files
merged between version "1.0.3-pre.0" and "1.0.3-pre.1" :
TS error is : TS2741: Property 'encodeLocation' is missing in type 'import("{...}/node_modules/history/index").History' but required in type 'import("{...}/node_modules/react-router-dom/node_modules/@remix-run/router/dist/history").History'.
The text was updated successfully, but these errors were encountered: