Explain it in 60 seconds
Type-only imports and exports
Frontend Engineering · TypeScript · Intermediate
What are type-only imports, and why do they matter?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- import type { User }.
- Erased completely in output.
- Avoids side effects and circular runtime imports.
- Needed with isolatedModules/verbatimModuleSyntax.
- Clarifies intent.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.