Skip to content

Commit 26f5643

Browse files
committed
update the deprecation notice of RouteExpr such that it points to public APIs
1 parent e387eba commit 26f5643

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Express.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module Express {
5656
}
5757

5858
/**
59-
* DEPRECATED: Use `isRouter()` instead.
59+
* DEPRECATED: Use `RouterDefinition.ref()` or `RouteSetup` instead.
6060
* An expression that refers to a route.
6161
*/
6262
deprecated class RouteExpr extends MethodCallExpr {

0 commit comments

Comments
 (0)