Skip to content

Commit 3a13f77

Browse files
committed
Fix typo "passd" -> "passed"
1 parent 424b7de commit 3a13f77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/codeql/codeql-language-guides/customizing-library-models-for-javascript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ We need to add a tuple to the ``sourceModel(type, path, kind)`` extensible predi
381381
- The first column, ``"@example/middleware"``, begins the search at imports of the hypothetical NPM package ``@example/middleware``.
382382
- ``Member[injectData]`` selects accesses to the ``injectData`` member.
383383
- ``ReturnValue`` selects the return value of the call to ``injectData``.
384-
- ``GuardedRouteHandler`` interprets the current value as a middleware function and selects all route handlers guarded by that middleware. Since the current value is passd to ``app.use()``, the callback subsequently passed to ``app.get()`` is seen as a guarded route handler.
384+
- ``GuardedRouteHandler`` interprets the current value as a middleware function and selects all route handlers guarded by that middleware. Since the current value is passed to ``app.use()``, the callback subsequently passed to ``app.get()`` is seen as a guarded route handler.
385385
- ``Parameter[0]`` selects the first parameter of the callback (the parameter named ``req``).
386386
- ``Member[data]`` selects accesses to the ``data`` property of the ``req`` object.
387387
- Finally, the kind ``remote`` indicates that this is considered a source of remote flow.

0 commit comments

Comments
 (0)