Add type to projectsData

This commit is contained in:
iamkroot 2023-12-11 02:05:33 -06:00
parent 03c1115ebf
commit fa27419599
No known key found for this signature in database
GPG Key ID: 694CCC1E76F20882

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