YSN Blog

Type-Only Imports and Export

November 06, 2023

TypeScript: Documentation - TypeScript 3.8

I've fixed this blog's code to use type only import.

According to the document, this declaration is needed when we use isolatedModules. We can tech the compiler that the module with type only import doesn't need to be compiled.