update missing-native-js-functions version
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import "missing-native-js-functions";
|
||||
|
||||
export function convertBigIntToString(obj: any) {
|
||||
if (typeof obj === "bigint") obj = obj.toString();
|
||||
|
||||
if (typeof obj === "object") {
|
||||
obj.keys().forEach((key: string) => {
|
||||
obj[key] = convertBigIntToString(obj[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return obj;
|
||||
}
|
||||
Reference in New Issue
Block a user