Skip to content

Commit

Permalink
remove semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Dec 29, 2024
1 parent 3ae2c36 commit 57f231c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ interface ChatMessage {
msg: string;
}

type GameOptions = {
number?: string;
filter?: string;
makeMeHost?: boolean;
allowMultipleCorrect?: boolean;
// Turns on AI judge by default (otherwise needs to be enabled per game)
enableAIJudge?: boolean;
// timeout to use for DD wagers and question answers
answerTimeout?: number;
// timeout to use for final wagers and answers (all players participate)
finalTimeout?: number;
};

interface RawQuestion {
val: number;
cat: string;
Expand All @@ -34,12 +21,25 @@ interface RawQuestion {
q?: string;
a?: string;
dd?: boolean;
};
}

interface Question {
value: number;
category: string;
question?: string;
answer?: string;
daily_double?: boolean;
};
}

type GameOptions = {
number?: string;
filter?: string;
makeMeHost?: boolean;
allowMultipleCorrect?: boolean;
// Turns on AI judge by default (otherwise needs to be enabled per game)
enableAIJudge?: boolean;
// timeout to use for DD wagers and question answers
answerTimeout?: number;
// timeout to use for final wagers and answers (all players participate)
finalTimeout?: number;
}

0 comments on commit 57f231c

Please sign in to comment.