Skip to content

Commit 559aa2f

Browse files
fix type for question option id
1 parent 878a6dc commit 559aa2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/quizzes.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export interface QuizResult extends Record<string, any> {
160160
}
161161

162162
export interface QuestionOption extends Record<string, any> {
163-
id: number;
163+
id: number | string;
164164
value: string;
165165
attribute: Nullable<{
166166
name: string;

0 commit comments

Comments
 (0)