Skip to content

Commit

Permalink
Add extra types to education and experience
Browse files Browse the repository at this point in the history
  • Loading branch information
fadihanna123 committed Jul 4, 2024
1 parent e099953 commit c9afd39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/consts/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const expeData = [
const expeData: expeEduData[] = [
{
id: 1,
title: "IT consultant – Founder",
Expand Down Expand Up @@ -57,7 +57,7 @@ const expeData = [
},
];

const eduData = [
const eduData: expeEduData[] = [
{
id: 1,
title: "High Education Diploma with specialization in Computer Engineering",
Expand Down
9 changes: 9 additions & 0 deletions src/types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ declare global {
company: string;
location: string;
}

interface expeEduData {
id: number;
title: string;
fromDate: string;
toDate: string;
company: string;
location: string;
}
}

export {};

0 comments on commit c9afd39

Please sign in to comment.