#Function<args, return> type on @types/node or typescript?

1 messages · Page 1 of 1 (latest)

snow mountain
#

I keep writing that type alias. Is there something similar already packaged and available globally in @types/node or typescript itself?

gilded pagoda
#

Is there any particular advantage of Function<A, R> over simply (A) => R?

snow mountain
#

yeap, nevermind.

#

thanks