Open GlitchApotamus opened 1 year ago
If I'm not mistaken it's not necessary to set it to false anymore. The code example with that included should be removed. So you can just not use it / leave it undefined, no?
When I don't use it, it defaults to "./giveaways.json" and undefined will also fault out in typescript because it's not a string
But so are you using a custom db? Because if you are extending the getAllGiveaways function then the "default" shouldn't matter to you.
So I don't really understand what you are trying to achieve/what your logic is.
This allows typescript users to write storage: false in the options.
Changes
Status