module Kredis::Types

def string(key, default: nil, config: :shared, after_change: nil, expires_in: nil)

def string(key, default: nil, config: :shared, after_change: nil, expires_in: nil)
  type_from(Scalar, config, key, after_change: after_change, typed: :string, default: default, expires_in: expires_in)
end