quicktype-core 23.0.93 → 23.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ export declare class TypeScriptZodTargetLanguage extends TargetLanguage {
13
13
  protected getOptions(): Option<any>[];
14
14
  constructor(displayName?: string, names?: string[], extension?: string);
15
15
  get stringTypeMapping(): StringTypeMapping;
16
+ get supportsOptionalClassProperties(): boolean;
16
17
  protected makeRenderer(renderContext: RenderContext, untypedOptionValues: {
17
18
  [name: string]: any;
18
19
  }): TypeScriptZodRenderer;
@@ -27,6 +27,9 @@ class TypeScriptZodTargetLanguage extends TargetLanguage_1.TargetLanguage {
27
27
  mapping.set("date-time", dateTimeType);
28
28
  return mapping;
29
29
  }
30
+ get supportsOptionalClassProperties() {
31
+ return true;
32
+ }
30
33
  makeRenderer(renderContext, untypedOptionValues) {
31
34
  return new TypeScriptZodRenderer(this, renderContext, (0, RendererOptions_1.getOptionValues)(exports.typeScriptZodOptions, untypedOptionValues));
32
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.93",
3
+ "version": "23.0.94",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",