Add a new type for the questions

This commit is contained in:
Oliver-Akins 2021-12-24 03:43:10 -07:00
parent 5f356f3376
commit 3ed62264b3

View file

@ -1,6 +1,13 @@
interface question {
answer: string;
accepted: string;
can_change: boolean;
}
interface config { interface config {
quiz: { quiz: {
answers: string[]; answers: question[];
}; };
twitch: { twitch: {
auth: { auth: {