diff --git a/src/components/employee.svelte b/src/components/employee.svelte
index 83ce2b1c..69c01f25 100644
--- a/src/components/employee.svelte
+++ b/src/components/employee.svelte
@@ -3,6 +3,7 @@
import LinkedinLogo from 'phosphor-svelte/lib/LinkedinLogo';
import Image from '$components/image.svelte';
import { JsonLd } from 'svelte-meta-tags';
+ import type { Picture } from 'vite-imagetools';
export let givenName: string;
export let familyName: string;
@@ -16,9 +17,8 @@
};
export let socialMedia: socialMedia[] = [];
- // TODO: Use Picture type from components/image.svelte
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- export let image: any;
+ export let image: Picture;
+ export let photographerName: string | undefined = undefined;
const name = `${givenName} ${familyName}`;
@@ -44,6 +44,20 @@
}}
/>
+