mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-11 22:17:14 +03:00
type config & remove await from memoryCache
This commit is contained in:
@@ -84,7 +84,6 @@ addDefaults(config, {
|
||||
function addDefaults(config: SBSConfig, defaults: SBSConfig) {
|
||||
for (const key in defaults) {
|
||||
if (!Object.prototype.hasOwnProperty.call(config, key)) {
|
||||
// @ts-ignore
|
||||
config[key] = defaults[key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user