We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b65adb commit cc5075cCopy full SHA for cc5075c
typescript-json-schema.ts
@@ -671,6 +671,8 @@ export class JsonSchemaGenerator {
671
definition.type = isInteger ? "integer" : "number";
672
} else if (flags & ts.TypeFlags.Boolean) {
673
definition.type = "boolean";
674
+ } else if (flags & ts.TypeFlags.ESSymbol) {
675
+ definition.type = "symbol";
676
} else if (flags & ts.TypeFlags.Null) {
677
definition.type = "null";
678
} else if (flags & ts.TypeFlags.Undefined || propertyTypeString === "void") {
0 commit comments