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

Member predicate ImportDeclaration::isTypeOnly

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

predicate isTypeOnly()