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

Predicate signature shouldContainType

Holds if the exported model should preserve all paths leading to an instance of type, including partial ones. It does not need to be closed transitively, ModelExport will extend this to include type models from which type can be derived.

Import path

import javascript
signature predicate shouldContainType(string type)