From 4ccae56210bfc5e0c0a0b863cac02596674ab5a0 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 18 Jul 2022 21:56:07 +0200 Subject: Update packages --- api/patches/typescript-json-schema+0.54.0.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 api/patches/typescript-json-schema+0.54.0.patch (limited to 'api/patches/typescript-json-schema+0.54.0.patch') diff --git a/api/patches/typescript-json-schema+0.54.0.patch b/api/patches/typescript-json-schema+0.54.0.patch new file mode 100644 index 00000000..2a319ec4 --- /dev/null +++ b/api/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"; + } -- cgit 1.5.1