Merge pull request #801 from iamkroot/typed-projs

Add type to `projectsData.ts`
This commit is contained in:
Timothy authored and GitHub committed 2024-01-06 17:47:43 +08:00
commit f47eccf2f2
1 file changed
+8 -1
+8 -1
View File
@@ -1,4 +1,11 @@
const projectsData = [
interface Project {
title: string,
description: string,
href?: string,
imgSrc?: string,
}
const projectsData: Project[] = [
{
title: 'A Search Engine',
description: `What if you could look up any information in the world? Webpages, images, videos