Open reesjones opened 6 years ago
It'd be nice to have syntactic sugar for optional/nullable types:
type Foo { bar: String | Null, // Replace this... baz: ?String, // with this! }
Similar to flow or Swift or Kotlin optionals.
This is similar to typescript, and we could make it String? but what do you do if you have String | Numer?.
String?
String | Numer?
It'd be nice to have syntactic sugar for optional/nullable types:
Similar to flow or Swift or Kotlin optionals.