Skip to content

ogygia error

region_import_type_only

‹host›:‹line› — `‹names›` is imported as a type with a region mark. A type is gone at runtime, so it cannot be a region. Import the types on their own line without `with`: `import type { ‹names› } from '‹spec›';`

import type, or a type specifier inside the braces, imports only a type. Types are erased before the code runs, so a region mark on one marks nothing. Keep region marks on value imports of components and import types on a separate line.

Every error and warning