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
Please see the playground: if the line of typeof doesn't exist, biome won't have problem with unused import or something, but when you have the typeof line and when it is the only reference to the imported component inside the script tag, biome will report All these imports are only used as types. despite the usage outside the script tag.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
Rule name
useImportType
Playground link
https://biomejs.dev/playground/?files.main.vue=PAB0AGUAbQBwAGwAYQB0AGUAPgAKACAAIAA8AFQAZQBzAHQAQwBvAG0AcABvAG4AZQBuAHQAPgAKACAAIAAgACAALgAuAC4ACgAgACAAPAAvAFQAZQBzAHQAQwBvAG0AcABvAG4AZQBuAHQAPgAKADwALwB0AGUAbQBwAGwAYQB0AGUAPgAKAAoAPABzAGMAcgBpAHAAdAAgAHMAZQB0AHUAcAAgAGwAYQBuAGcAPQAiAHQAcwAiAD4ACgAgACAAIAAgAGkAbQBwAG8AcgB0ACAAVABlAHMAdABDAG8AbQBwAG8AbgBlAG4AdAAgAGYAcgBvAG0AIAAnAC4ALwBUAGUAcwB0AEMAbwBtAHAAbwBuAGUAbgB0AC4AdgB1AGUAJwAKACAAIAAgACAAYwBvAG4AcwB0ACAAdABlAHMAdABUAHkAcABlACAAPQAgAEkAbgBzAHQAYQBuAGMAZQBUAHkAcABlADwAdAB5AHAAZQBvAGYAIABUAGUAcwB0AEMAbwBtAHAAbwBuAGUAbgB0AD4ACgA8AC8AcwBjAHIAaQBwAHQAPgA%3D
Expected result
Please see the playground: if the line of
typeof
doesn't exist, biome won't have problem with unused import or something, but when you have thetypeof
line and when it is the only reference to the imported component inside thescript
tag, biome will reportAll these imports are only used as types.
despite the usage outside thescript
tag.Code of Conduct
The text was updated successfully, but these errors were encountered: