feat: 类型规范
This commit is contained in:
1 parent
dec9b477e0
commit
d626f872e6
16 files changed
+119
-173
No files matched your search
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user