fix(build): enable noImplicitAny and add explicit typing for cache entry deletion
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/levelcache',
|
||||
version: '3.2.1',
|
||||
version: '3.2.2',
|
||||
description: 'A versatile caching solution offering multi-level storage utilizing memory, disk, and Amazon S3 for efficient data management and backup.'
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ export class LevelCache extends AbstractCache {
|
||||
]);
|
||||
}
|
||||
|
||||
public async deleteCacheEntryByKey(keyArg) {
|
||||
public async deleteCacheEntryByKey(keyArg: string): Promise<void> {
|
||||
await Promise.all([
|
||||
this.cacheMemoryManager.deleteCacheEntryByKey(keyArg),
|
||||
this.cacheDiskManager.deleteCacheEntryByKey(keyArg),
|
||||
|
||||
Reference in New Issue
Block a user