Chore: make ESLint Happy

This commit is contained in:
SukkaW
2024-10-10 21:40:54 +08:00
parent 40cda6997a
commit e40979e50e
31 changed files with 228 additions and 220 deletions

View File

@@ -1,6 +1,6 @@
import process from 'node:process';
export const createCache = (namespace?: string, printStats = false) => {
export function createCache(namespace?: string, printStats = false) {
const cache = new Map();
let hit = 0;
@@ -30,4 +30,4 @@ export const createCache = (namespace?: string, printStats = false) => {
return value;
}
};
};
}