# TypeScript: error TS1484: 'User' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.

**Code:** `TS1484/TS1205: type must be imported using a type-only import` · **Category:** TypeScript · **Seen on:** TypeScript

With `verbatimModuleSyntax` or `isolatedModules`, types must be imported/re-exported with `import type` / `export type`.

## Meaning

Use `import type { User } from "./types"` or inline `import { type User }`. Re-exports: `export type { User }`. This lets transpilers drop type-only imports safely. Switch the option off only if you can't update many files; ESLint `consistent-type-imports` automates the fix.

## Common causes

- Importing types with a normal import under verbatimModuleSyntax
- Re-exporting types without `export type` (TS1205)
- Interface exported via barrels
- Migration to Vite/SWC
- `importsNotUsedAsValues` replaced

## Quick fix

1. `import type { User } from "./types"` / `import { type User }`
2. `export type { User } from "./types"`
3. Use ESLint `@typescript-eslint/consistent-type-imports --fix`

## Detailed fix by platform

### TypeScript

1. `import { type User, createUser } from "./users";`

## How to diagnose

1. **Kind** — Type import?
2. **Re-export** — export type?
3. **Lint** — Autofix?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/typescript/ts1484-type-import-isolatedmodules-verbatimmodulesyntax)
