feat: 类型规范

This commit is contained in:
手瓜一十雪 committed 2025-02-02 20:16:11 +08:00
1 parent dec9b477e0
commit d626f872e6
16 files changed
+119 -173

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ export function calcQQLevel(level?: QQLevel) {
}
export function stringifyWithBigInt(obj: any) {
return JSON.stringify(obj, (key, value) =>
return JSON.stringify(obj, (_key, value) =>
typeof value === 'bigint' ? value.toString() : value
);
}