diff --git a/src/lib/constant/faqs.constants.ts b/src/lib/constant/faqs.constants.ts index 4e7be3c6..3fc78e58 100644 --- a/src/lib/constant/faqs.constants.ts +++ b/src/lib/constant/faqs.constants.ts @@ -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: diff --git a/src/types/faqs.types.ts b/src/types/faqs.types.ts new file mode 100644 index 00000000..7bf56987 --- /dev/null +++ b/src/types/faqs.types.ts @@ -0,0 +1,4 @@ +export type faqItem = { + question: string; + answer: string; +};