Closed alex-kinokon closed 1 month ago
This was not mentioned in the documentation, but looking at the tests, this feels like a specification.
I read the original PR and the one in rome/tools
. Neither of it mentions this case in the description so I’m assuming this is not something intentional.
Is there an issue of turning export
into export type
? The intended behavior of turning a file into a module is still preserved?
The intention of exportKind: "type"
is to ask the bundler to drop an export, and in this case there’s nothing to drop so the fix serves no purpose except leaving the reader wondering if this has some deliberate semantic difference.
Thanks!
Environment information
What happened?
https://biomejs.dev/playground/?code=ZQB4AHAAbwByAHQAIAB7AH0A
Expected result
No lint error.
Code of Conduct