mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
Fix (cache): types
This commit is contained in:
@@ -87,12 +87,11 @@ export function createCache(
|
||||
activeGuildIds: new Set(),
|
||||
executedSlashCommands: new Set(),
|
||||
fetchAllMembersProcessingRequests: new Map(),
|
||||
execute: async function () {
|
||||
throw new Error("Async Cache requires a custom execute function to be implemented.");
|
||||
}
|
||||
} as AsyncCache;
|
||||
|
||||
cache.execute = async function () {
|
||||
throw new Error("Async Cache requires a custom execute function to be implemented.");
|
||||
};
|
||||
|
||||
return cache;
|
||||
}
|
||||
if (!options.tableCreator) options.tableCreator = createTable;
|
||||
|
||||
Reference in New Issue
Block a user