summary refs log tree commit diff
path: root/patches/typescript-json-schema+0.65.1.patch
blob: 2164d4a32e77df9528c1fd356b6f370af362448f (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 3eab401..69658a4 100644
--- a/node_modules/typescript-json-schema/dist/typescript-json-schema.js
+++ b/node_modules/typescript-json-schema/dist/typescript-json-schema.js
@@ -470,6 +470,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.ESSymbol) {
                 definition.type = "object";
             }