summary refs log tree commit diff
path: root/patches/typescript-json-schema+0.54.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/typescript-json-schema+0.54.0.patch')
-rw-r--r--patches/typescript-json-schema+0.54.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/typescript-json-schema+0.54.0.patch b/patches/typescript-json-schema+0.54.0.patch
new file mode 100644
index 00000000..2a319ec4
--- /dev/null
+++ b/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";
+             }