mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: use the new types with old syntax (#6922)
This commit is contained in:
@@ -11,7 +11,7 @@ import v.util
|
||||
import v.pref
|
||||
|
||||
// `Any` is a sum type that lists the possible types to be decoded and used.
|
||||
pub type Any = string | int | i64 | f32 | f64 | any_int | any_float | bool | Null | []Any | map[string]Any
|
||||
pub __type Any = string | int | i64 | f32 | f64 | any_int | any_float | bool | Null | []Any | map[string]Any
|
||||
// `Null` struct is a simple representation of the `null` value in JSON.
|
||||
pub struct Null {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user