sig/strong_json.rbi in strong_json-2.0.0 vs sig/strong_json.rbi in strong_json-2.1.0
- old
+ new
@@ -36,9 +36,11 @@
def string?: () -> Type::Optional<String>
def number: () -> Type::Base<Numeric>
def number?: () -> Type::Optional<Numeric>
def numeric: () -> Type::Base<Numeric>
def numeric?: () -> Type::Optional<Numeric>
+ def integer: () -> Type::Base<Integer>
+ def integer?: () -> Type::Optional<Integer>
def boolean: () -> Type::Base<bool>
def boolean?: () -> Type::Optional<bool>
def symbol: () -> Type::Base<Symbol>
def symbol?: () -> Type::Optional<Symbol>
def array: <'x> (_Schema<'x>) -> Type::Array<'x>