ArnaudBarre / eslint-plugin-react-refresh

Validate that your components can safely be updated with Fast Refresh
MIT License
220 stars 15 forks source link

Doesn't support Arbitrary Module Identifiers in TypeScript 5.6 #52

Closed pauliesnug closed 1 month ago

pauliesnug commented 1 month ago

In typescript-eslint@v8.10.0, they added support for ExportNamedDeclarations having children string literals, due to the 5.6 change of arbitrary module identifiers. These probably aren't supported by HMR anyway, so should they just throw an error? Right now when building for the v8.10.0, it will throw an error.

ArnaudBarre commented 1 month ago

Thanks for letting me know, I look into it!