mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: make ESLint Happy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user