Closed Raynos closed 9 years ago
@raynos could you update the PR to include the correct Callback signature and a note indicating that it's an approximate type signature? At a minimum, I think it's important to note that the return value of Promise<T>.then
is Promise<Any>
, rather than void
.
@jden Updated this branch / PR based on your feedback.
:+1: ty
we now have the
type label :
syntax for custom types so this should be used whenever you use a type that is not a builtin.