Merge pull request #801 from iamkroot/typed-projs
Add type to `projectsData.ts`
This commit is contained in:
commit
f47eccf2f2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user