type MapToInputType = Pick; type InputOnChangeParameters = Parameters< Exclude >; type StateSetter = (value: unknown) => void; type CreateInputOnChangeHandlerOptions = { postSet?: (...args: InputOnChangeParameters) => void; preSet?: (...args: InputOnChangeParameters) => void; set?: StateSetter; setType?: TypeName; };