Skip to content
public-library›Rules›TypeScript›Import types with import type

Import types with import type

Import anything used only as a type with import type, or with an inline type modifier, so the import is removed from the emitted JavaScript.

In the full rule