summary refs log tree commit diff
path: root/dist/util/convertBigIntToString.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 00:30:07 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 00:30:07 +0100
commit8e84d39c7f2531e81eed3a9d01bf4030b19a2c88 (patch)
treeeb89f194780f903388cf968e9073cab4aed75ccc /dist/util/convertBigIntToString.js
parent:art: Channel + Member + Message + Role in separate collection (diff)
downloadserver-8e84d39c7f2531e81eed3a9d01bf4030b19a2c88.tar.xz
:sparkles: getPermission util function
Diffstat (limited to 'dist/util/convertBigIntToString.js')
-rw-r--r--dist/util/convertBigIntToString.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/dist/util/convertBigIntToString.js b/dist/util/convertBigIntToString.js
deleted file mode 100644

index a72b5a57..00000000 --- a/dist/util/convertBigIntToString.js +++ /dev/null
@@ -1,16 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.convertBigIntToString = void 0; -require("missing-native-js-functions"); -function convertBigIntToString(obj) { - if (typeof obj === "bigint") - obj = obj.toString(); - if (typeof obj === "object") { - obj.keys().forEach((key) => { - obj[key] = convertBigIntToString(obj[key]); - }); - } - return obj; -} -exports.convertBigIntToString = convertBigIntToString; -//# sourceMappingURL=convertBigIntToString.js.map \ No newline at end of file