Skip to content

Commit

Permalink
refactor: 🔥 removes drag and drop questions from .ts file
Browse files Browse the repository at this point in the history
I removed drag and drop questions from the .ts file, since we are not going to support them.
  • Loading branch information
gwealm committed Feb 10, 2021
1 parent 04590be commit eaa65e0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions examples/quiz.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Component = Component[] | {
type?: "normal" | "italic" | "bold" | "underlined" | "strikethrough" | "inline-code" | "block-code" | "math"
}

type Question = ChoiceQuestion | TrueFalseQuestion | ShortAnswerQuestion | DragDropQuestion;
type Question = ChoiceQuestion | TrueFalseQuestion | ShortAnswerQuestion;

// ---------------------------------

Expand All @@ -33,9 +33,3 @@ type ShortAnswerQuestion = {
prompt: Component,
correct: string
}

type DragDropQuestion = {
questionType: "drag-n-drop",
prompt: Component,
// TBD
}

0 comments on commit eaa65e0

Please sign in to comment.