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

Member predicate ImportDeclaration::isTypeOnly

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

predicate isTypeOnly()