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

Member predicate ImportDeclaration::isTypeOnly

Holds if this is declared with the type keyword, so it only imports types.

predicate isTypeOnly()