AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
TypeScript: Should You Use Type Only Import?
TypeScript documentation says it will always get fully erased when you're using type only import and there is no remnant. On top of that, I think type only import can clarify that the code imports types, not values. So I'm going to say you almost will never need to use type imports in TypeScript.