add `type` (#286)
@joeldrapper I think this would make sense
https://github.com/rails/rails/blob/00cc4ff0259c0185fe08baadaa40e63ea2534f6e/activemodel/lib/active_model/type/value.rb#L32
