Files
server/patches/typescript-json-schema+0.67.4.patch
T
2026-05-24 01:52:24 +02:00

15 lines
686 B
Diff

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 e59b11e..9e0e0c4 100644
--- a/node_modules/typescript-json-schema/dist/typescript-json-schema.js
+++ b/node_modules/typescript-json-schema/dist/typescript-json-schema.js
@@ -420,6 +420,9 @@ class JsonSchemaGenerator {
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";
}