CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.0 (changelog, source)
Search

Predicate signature shouldContain

Holds if the exported model should contain node, if it is publicly accessible.

This ensures that all ways to access node will be exported in type models.

Import path

import javascript
signature predicate shouldContain(Node node)