Skip to content

Commit

Permalink
Update typescript-json-schema.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Apr 5, 2024
1 parent fc33946 commit 71fdebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript-json-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ export class JsonSchemaGenerator {
} else if (propertyTypeString === "bigint") {
definition.type = "number";
definition.properties = {};
definition.additionalProperties = false;
definition.additionalProperties = false;
} else {
const value = extractLiteralValue(propertyType);
if (value !== undefined) {
Expand Down

0 comments on commit 71fdebc

Please sign in to comment.