From 71fdebc6bf7a3ff52f5db1448e2fcbaefb832437 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Fri, 5 Apr 2024 14:19:55 -0400 Subject: [PATCH] Update typescript-json-schema.ts --- typescript-json-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript-json-schema.ts b/typescript-json-schema.ts index 8ae8179..68c34bf 100644 --- a/typescript-json-schema.ts +++ b/typescript-json-schema.ts @@ -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) {