Skip to content

Commit

Permalink
added types for faq
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeeshRS committed Sep 17, 2024
1 parent 9c27b36 commit f93f372
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/constant/faqs.constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const faqData = [
import { faqItem } from '@/types/faqs.types';

export const faqData: faqItem[] = [
{
question: 'How do I apply for jobs?',
answer:
Expand Down
4 changes: 4 additions & 0 deletions src/types/faqs.types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export type faqItem = {
question: string;
answer: string;
};

0 comments on commit f93f372

Please sign in to comment.