While exploring the source code on GitHub for the Flux Dispatcher, I came across an interesting syntax using angle brackets:
class Dispatcher<TPayload> { .... }
I'm curious to know if this is a new feature of the language or perhaps a subset like TypeScript. What adds to the confusion is that the file has a .js extension.
Can anyone shed some light on what this syntax means in this context?