Pass the ESLINT and Typescript build
This commit is contained in:
parent
cea7a5bc9d
commit
32c3debad4
8 changed files with 115 additions and 98 deletions
|
@ -107,7 +107,7 @@ export const playModes = [
|
|||
{ name: "Custom", icon: IconPencil, questions: []},
|
||||
]
|
||||
|
||||
export function getRandomQuestion(mode, alreadyDone = [], customQuestions){
|
||||
export function getRandomQuestion(mode: any, alreadyDone: any = [], customQuestions: any){
|
||||
let questionList = mode.questions
|
||||
if(mode.name == "Custom") {
|
||||
questionList = customQuestions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue