Comparing version 5.7.1 to 5.7.2
@@ -6,5 +6,5 @@ import { DecodeOptions } from './decode.js'; | ||
export interface SchemaLike<T> { | ||
create(partials: DeepPartial<T>, options: Partial<DecodeOptions>): T; | ||
decode(value: unknown, options: Partial<DecodeOptions>): T; | ||
validate(value: unknown): DecodeError[]; | ||
create(partials: DeepPartial<T>, options?: Partial<DecodeOptions>): T; | ||
decode(value: unknown, options?: Partial<DecodeOptions>): T; | ||
validate(value: unknown, options?: Partial<DecodeOptions>): DecodeError[]; | ||
} | ||
@@ -11,0 +11,0 @@ export declare class Schema<T> implements SchemaLike<T> { |
{ | ||
"name": "airtight", | ||
"version": "5.7.1", | ||
"version": "5.7.2", | ||
"description": "JSON Schema inspired library for validation, decoding and type conversion", | ||
@@ -5,0 +5,0 @@ "type": "module", |
27563