"... is a type and must be imported using a type-only import ..." should have a quick fix #52444
Closed
5 tasks done
Labels
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Suggestion
π Search Terms
verbatimModuleSyntax type quick fix
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
I am trying out the beta, and got this message when enabling
verbatimModuleSyntax
(as expected). However, the only quick fix available to me was the one to convert the import to a namespace import.π Motivating Example
Becomes:
Or:
I thought we had it (maybe it only works for
preserveValueImports
?)π» Use Cases
People switching these new stricter flags on.
The text was updated successfully, but these errors were encountered: