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
I have a react application, biome is stating that the javascript files have the following issue:
"type assertion are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax."
It is highlighting the returned elements of the function which are normal JSX.
Biome is even highlight this with the error above: return <div></div>;
The Biome extension in VS code is the issue, we have Biome running with our pre-commit husky hook and everything is normal.
Steps to reproduce
I cannot share the code.
Expected behavior
Biome does not mention typescript errors as this is just a javascript project and file.
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Logs
No response
The text was updated successfully, but these errors were encountered:
VS Code version
1.87.2
Extension version
2.2.2
Biome version
1.6.1
Operating system
Description
I have a react application, biome is stating that the javascript files have the following issue:
"type assertion are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax."
It is highlighting the returned elements of the function which are normal JSX.
Biome is even highlight this with the error above:
return <div></div>
;The Biome extension in VS code is the issue, we have Biome running with our pre-commit husky hook and everything is normal.
Steps to reproduce
I cannot share the code.
Expected behavior
Biome does not mention typescript errors as this is just a javascript project and file.
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Logs
No response
The text was updated successfully, but these errors were encountered: