import { type X } was added in typescript 4.5. users who are on older versions of typescript were getting build errors, so i've replaced it with import type { X } which is more widely supported.
i did a global regex search for import(.*)type and didn't find any other instances of { type X } imports in our components. there are a few in other workspaces but those are fine to leave.
import { type X }
was added in typescript 4.5. users who are on older versions of typescript were getting build errors, so i've replaced it withimport type { X }
which is more widely supported.i did a global regex search for
import(.*)type
and didn't find any other instances of{ type X }
imports in our components. there are a few in other workspaces but those are fine to leave.