Merge pull request #801 from iamkroot/typed-projs

Add type to `projectsData.ts`
This commit is contained in:
Timothy 2024-01-06 17:47:43 +08:00 committed by GitHub
commit f47eccf2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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