summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 10:06:57 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 10:06:57 +0100
commit81b59c4012ad13a7c229529b4155ef1bbc5f4d39 (patch)
treec0070e107c02a58a5572d8d6f8e374d54e4747c2 /src
parent:sparkles: convertBigIntToString (diff)
downloadserver-81b59c4012ad13a7c229529b4155ef1bbc5f4d39.tar.xz
update missing-native-js-functions version
Diffstat (limited to 'src')
-rw-r--r--src/util/convertBigIntToString.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/util/convertBigIntToString.ts b/src/util/convertBigIntToString.ts
deleted file mode 100644
index 2c8d9a38..00000000
--- a/src/util/convertBigIntToString.ts
+++ /dev/null
@@ -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;
-}