This commit is contained in:
undefined committed 2024-11-05 09:02:20 +08:00
1 parent 8e31fb5b00
commit 9496f9c379
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { NumberKeys } from '../typeutils';
import { SYSTEM_SETTINGS } from './setting';
const coll = db.collection('system');
const cache: Record<string, any> = {};
const cache: Record<string, any> = Object.create(null);
export function get<K extends keyof SystemKeys>(key: K): SystemKeys[K];
export function get(key: string): any;