mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
use more set literals
This commit is contained in:
@@ -17,10 +17,11 @@ module ConnectExpressShared {
|
||||
*/
|
||||
private class RouteHandlerSignature extends string {
|
||||
RouteHandlerSignature() {
|
||||
this = "request,response" or
|
||||
this = "request,response,next" or
|
||||
this = "request,response,next,parameter" or
|
||||
this = "error,request,response,next"
|
||||
this =
|
||||
[
|
||||
"request,response", "request,response,next", "request,response,next,parameter",
|
||||
"error,request,response,next"
|
||||
]
|
||||
}
|
||||
|
||||
/** Gets the index of the parameter corresonding to the given `kind`, if any. */
|
||||
|
||||
Reference in New Issue
Block a user