summary refs log tree commit diff
path: root/api/patches/typescript-json-schema+0.54.0.patch
blob: 2a319ec48a96ed3d44da428ec868c4ed47600f6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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";
             }