import { object } from "./object"; import { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, PropertySchemas } from "./types"; export function objectWithoutOptionalProperties>( schemas: T ): inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas { return object(schemas) as unknown as inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas; } export type inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas> = ObjectSchema< inferRawObjectFromPropertySchemas, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas >; export type inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas> = { [K in keyof T]: inferParsedPropertySchema; };