diff --git a/builtin/builtin.mbti b/builtin/builtin.mbti index fb1231f23..831c44765 100644 --- a/builtin/builtin.mbti +++ b/builtin/builtin.mbti @@ -554,6 +554,7 @@ impl UInt { to_byte(UInt) -> Byte to_float(UInt) -> Float to_int(UInt) -> Int //deprecated + to_json(UInt) -> Json to_string(UInt) -> String to_uint64(UInt) -> UInt64 trunc_double(Double) -> UInt @@ -590,6 +591,7 @@ impl UInt64 { to_float(UInt64) -> Float to_int(UInt64) -> Int to_int64(UInt64) -> Int64 //deprecated + to_json(UInt64) -> Json to_string(UInt64) -> String to_uint(UInt64) -> UInt trunc_double(Double) -> UInt64 diff --git a/json/json.mbti b/json/json.mbti index d773eaa2b..7d11caf4e 100644 --- a/json/json.mbti +++ b/json/json.mbti @@ -66,6 +66,8 @@ impl FromJson for Bool impl FromJson for Char impl FromJson for Int impl FromJson for Int64 +impl FromJson for UInt +impl FromJson for UInt64 impl FromJson for Double impl FromJson for String impl[T : FromJson] FromJson for T?