Fix typings

This commit is contained in:
Christer Warén
2024-09-30 13:22:31 +03:00
parent a1403d7047
commit 973cd00c82
9 changed files with 36 additions and 36 deletions

View File

@ -76,7 +76,7 @@ export default class Datastore {
return this.map.get(id);
}
updateEntry(guild: Guild | { id: string, name: string }, newData: datastore) {
updateEntry(guild: Guild | { id: string, name?: string }, newData: datastore) {
newData.guild.name = guild.name;
let date = new Date();