RouteHandler type

Function for handling an incoming request.

type RouteHandler<TState> = (
  context: TurnContext,
  state: TState
) => Promise<void>