From 5e86d7ab9c5200d794c3adb2b422d20a2aefd2ce Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 13 Aug 2022 02:00:50 +0200 Subject: restructure to single project --- patches/typescript-json-schema+0.54.0.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/typescript-json-schema+0.54.0.patch (limited to 'patches/typescript-json-schema+0.54.0.patch') diff --git a/patches/typescript-json-schema+0.54.0.patch b/patches/typescript-json-schema+0.54.0.patch new file mode 100644 index 00000000..2a319ec4 --- /dev/null +++ b/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