Repository navigation
v1.0.2
Patch Changes
-
78ff0fc: Fix type inference for schema validation methods
formatWithSchema()now properly infers input type from schema instead of acceptingunknownformatWithSchemaAsync()now properly infers input type from schematryFormatWithSchema()now properly infers input type from schemaPromptWeaver.composeAndCreate()now preserves schema type parameterPromptBuilder.toPromptWeaver()now preserves schema type parameter
This enables full compile-time type safety when using Standard Schema validators (Zod, Valibot, ArkType, etc.)