Import Types

Verze:

31. 12. 2025

Zodpovědná osoba:

Dominik Šlechta

Type-only imports MUST use the type keyword to distinguish them from value imports.

Type-only imports MUST use the type keyword.

Example (Correct):

import type { Product, Category } from '@js/types/models'
import { formatPrice } from '@js/utils/formatting'

Example (Incorrect):

import { Product, Category } from '@js/types/models'