JS: Go back to disjunction 😭

This commit is contained in:
Asger Feldthaus
2020-05-07 16:16:14 +01:00
parent c45d84f8f3
commit 82d3a7eb23

View File

@@ -17,9 +17,10 @@ module ConnectExpressShared {
*/
private class RouteHandlerSignature extends string {
RouteHandlerSignature() {
this =
["request,response", "request,response,next", "request,response,next,parameter",
"error,request,response,next"]
this = "request,response" or
this = "request,response,next" or
this = "request,response,next,parameter" or
this = "error,request,response,next"
}
/** Gets the index of the parameter corresonding to the given `kind`, if any. */