Skip to content

Commit fa27419

Browse files
committed
Add type to projectsData
1 parent 03c1115 commit fa27419

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

data/projectsData.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
const projectsData = [
1+
interface Project {
2+
title: string,
3+
description: string,
4+
href?: string,
5+
imgSrc?: string,
6+
}
7+
8+
const projectsData: Project[] = [
29
{
310
title: 'A Search Engine',
411
description: `What if you could look up any information in the world? Webpages, images, videos

0 commit comments

Comments
 (0)