Module: Remap::Types::Report

Defined in:
lib/remap/types.rb

Constant Summary collapse

Problem =
Hash.schema(value?: Any, reason: String)
Key =
String | Symbol | Integer
Value =
Any.constructor do |value, &error|
  (Array(Problem) | Self).call(value, &error)
end
Self =
Hash.map(Key, Value) | Hash.schema(base: Array(Problem))