Fix imported type using a type-only import

This commit is contained in:
prototypa
2023-08-22 22:56:57 -04:00
parent c1f36e9f79
commit 3022d4424b
9 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
import FormContainer from '~/components/ui/Form.astro';
import Headline from '~/components/ui/Headline.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import { Contact } from '~/types';
import type { Contact } from '~/types';
const {
title = await Astro.slots.render('title'),

View File

@ -1,7 +1,7 @@
---
import { Icon } from 'astro-icon/components';
import Image from '~/components/common/Image.astro';
import { CallToAction } from '~/types';
import type { CallToAction } from '~/types';
export interface Props {
title?: string;

View File

@ -1,5 +1,5 @@
---
import { Stats } from '~/types';
import type { Stats } from '~/types';
import WidgetWrapper from '../ui/WidgetWrapper.astro';
import Headline from '../ui/Headline.astro';
import { Icon } from 'astro-icon/components';

View File

@ -1,7 +1,7 @@
---
import { Icon } from 'astro-icon/components';
import Headline from '../ui/Headline.astro';
import { Steps } from '~/types';
import type { Steps } from '~/types';
import WidgetWrapper from '../ui/WidgetWrapper.astro';
const {