Add a new type for the questions
This commit is contained in:
parent
5f356f3376
commit
3ed62264b3
1 changed files with 8 additions and 1 deletions
9
src/types/config.d.ts
vendored
9
src/types/config.d.ts
vendored
|
|
@ -1,6 +1,13 @@
|
|||
interface question {
|
||||
answer: string;
|
||||
accepted: string;
|
||||
can_change: boolean;
|
||||
}
|
||||
|
||||
|
||||
interface config {
|
||||
quiz: {
|
||||
answers: string[];
|
||||
answers: question[];
|
||||
};
|
||||
twitch: {
|
||||
auth: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue