We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 264ab45 commit 3426762Copy full SHA for 3426762
typescript-json-schema.ts
@@ -705,6 +705,10 @@ export class JsonSchemaGenerator {
705
definition.type = "object";
706
definition.properties = {};
707
definition.additionalProperties = true;
708
+ } else if (propertyTypeString === "bigint") {
709
+ definition.type = "number";
710
+ definition.properties = {};
711
+ definition.additionalProperties = false;
712
} else {
713
const value = extractLiteralValue(propertyType);
714
if (value !== undefined) {
0 commit comments