diff --git a/src/renderers/contentful/renderContentfulImports.ts b/src/renderers/contentful/renderContentfulImports.ts index 2472eb6b..48faf5c7 100644 --- a/src/renderers/contentful/renderContentfulImports.ts +++ b/src/renderers/contentful/renderContentfulImports.ts @@ -5,7 +5,7 @@ export default function renderContentfulImports( return ` // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY IT. - import { ${localization ? "" : "Asset, "}Entry } from 'contentful' - ${hasRichText ? "import { Document } from '@contentful/rich-text-types'" : ""} + import type { ${localization ? "" : "Asset, "}Entry } from 'contentful' + ${hasRichText ? "import type { Document } from '@contentful/rich-text-types'" : ""} ` }