Comparing version 1.1.1 to 1.1.2
@@ -19,3 +19,3 @@ import { BaseValidator } from "./base/validator"; | ||
} | ||
export declare type ArrayFunction = <T extends unknown, U extends BaseValidator<T>>(itemType?: U) => ArrayValidator<Array<T>>; | ||
export declare type ArrayFunction = <U extends BaseValidator<unknown>>(itemType?: U) => ArrayValidator<Array<TypeOf<U>>>; | ||
export {}; |
{ | ||
"name": "suretype", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Typesafe JSON (Schema) validator with magic powers 🧙♂️", | ||
@@ -5,0 +5,0 @@ "author": "Gustaf Räntilä", |
157143