summary refs log tree commit diff
path: root/api/patches/typescript-json-schema+0.54.0.patch
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-07-18 21:56:07 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:28:27 +0200
commit4ccae56210bfc5e0c0a0b863cac02596674ab5a0 (patch)
treea500a82dbe0b9bcd3069a88d2ddf0ee179d1618c /api/patches/typescript-json-schema+0.54.0.patch
parentfix ts errors (diff)
downloadserver-4ccae56210bfc5e0c0a0b863cac02596674ab5a0.tar.xz
Update packages
Diffstat (limited to 'api/patches/typescript-json-schema+0.54.0.patch')
-rw-r--r--api/patches/typescript-json-schema+0.54.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/api/patches/typescript-json-schema+0.54.0.patch b/api/patches/typescript-json-schema+0.54.0.patch
new file mode 100644

index 00000000..2a319ec4 --- /dev/null +++ b/api/patches/typescript-json-schema+0.54.0.patch
@@ -0,0 +1,14 @@ +diff --git a/node_modules/typescript-json-schema/dist/typescript-json-schema.js b/node_modules/typescript-json-schema/dist/typescript-json-schema.js +index 78f97ba..790c516 100644 +--- a/node_modules/typescript-json-schema/dist/typescript-json-schema.js ++++ b/node_modules/typescript-json-schema/dist/typescript-json-schema.js +@@ -453,6 +453,9 @@ var JsonSchemaGenerator = (function () { + else if (flags & ts.TypeFlags.Boolean) { + definition.type = "boolean"; + } ++ else if (flags & ts.TypeFlags.BigInt) { ++ definition.type = "bigint"; ++ } + else if (flags & ts.TypeFlags.Null) { + definition.type = "null"; + }