@typescriptlang a proper option type.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang missing = undefined nothing = null -
@rlynd3@typescriptlang I completely agree, that's why the correct answer should be "both null and undefined"
End of conversation
New conversation -
-
-
@typescriptlang maybe/ optionalThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang Option type.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang With a proper Option type like in@scala_lang.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang None of the above. Options/MaybesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang null-safity. Is it possible to introduce into#TypeScript ?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang A proper option type.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@typescriptlang A maybe monad is sometimes the best way. There are plenty of monad libs like https://github.com/cbowdon/tsmonad (that one's mine
)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.