Skip to content

Commit

Permalink
v2.7.2-beta.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAribart committed Feb 23, 2023
1 parent 5ce318a commit 0aec984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions builds/deno/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ declare type JSONSchema7$1 = boolean | (Omit<JSONSchema7$2, "const" | "enum" | "
};
examples?: unknown[];
default?: unknown;
[key: string]: unknown;
});
declare type JSONSchema7Reference$1 = JSONSchema7$1 & {
$id: string;
Expand Down Expand Up @@ -324,6 +323,6 @@ declare const asConst: <A>(narrowed: Narrow<A>) => Narrow<A>;
declare type JSONSchema7 = JSONSchema7$1 | DeepReadonly<JSONSchema7$1>;
declare type JSONSchema7Reference = JSONSchema7Reference$1 | DeepReadonly<JSONSchema7Reference$1>;
declare type JSONSchema = JSONSchema7;
declare type FromSchema<S extends JSONSchema, Opt extends FromSchemaOptions = FromSchemaDefaultOptions, W extends JSONSchema7$1 = DeepWritable<S>> = M.$Resolve<ParseSchema<W, ParseOptions<W, Opt>>>;
declare type FromSchema<S extends JSONSchema, Opt extends FromSchemaOptions = FromSchemaDefaultOptions, W extends JSONSchema7$1 = S extends Record<string | number | symbol, unknown> ? DeepWritable<S> : S> = M.$Resolve<ParseSchema<W, ParseOptions<W, Opt>>>;

export { $Compiler, $Validator, Compiler, DeserializationPattern, FromSchema, FromSchemaDefaultOptions, FromSchemaOptions, JSONSchema, JSONSchema7, JSONSchema7Reference, Validator, asConst, wrapCompilerAsTypeGuard, wrapValidatorAsTypeGuard };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-schema-to-ts",
"version": "2.7.1",
"version": "2.7.2-beta.0",
"description": "Infer typescript types from your JSON schemas!",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
Expand Down

0 comments on commit 0aec984

Please sign in to comment.