Pass the ESLINT and Typescript build

This commit is contained in:
Lucien Astié 2024-08-10 13:22:32 +02:00
parent cea7a5bc9d
commit 32c3debad4
8 changed files with 115 additions and 98 deletions

View file

@ -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