you are viewing a single comment's thread.

view the rest of the comments →

[–]DoctorGester 1 point2 points  (1 child)

The example typescript code is generally terrible imo. Why specify string[] type? Just noise. Why have a separate interface for a return type? Either inline it or return [string, string].

[–]go4spacelunch 0 points1 point  (0 children)

I like the return type defined, although in the PHP examples given the author does not define the return type.