summary refs log tree commit diff
path: root/api/patches
diff options
context:
space:
mode:
Diffstat (limited to 'api/patches')
-rw-r--r--api/patches/typescript-json-schema+0.54.0.patch (renamed from api/patches/typescript-json-schema+0.50.1.patch)10
1 files changed, 5 insertions, 5 deletions
diff --git a/api/patches/typescript-json-schema+0.50.1.patch b/api/patches/typescript-json-schema+0.54.0.patch

index a0d479de..2a319ec4 100644 --- a/api/patches/typescript-json-schema+0.50.1.patch +++ b/api/patches/typescript-json-schema+0.54.0.patch
@@ -1,14 +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 47e1598..8397b9d 100644 +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 -@@ -432,6 +432,9 @@ var JsonSchemaGenerator = (function () { +@@ -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.BigInt) { ++ definition.type = "bigint"; ++ } else if (flags & ts.TypeFlags.Null) { definition.type = "null"; }