Missing Compiler API predicate functions: isImportTypeAssertionContainer #49306
Labels
API
Relates to the public API for TypeScript
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Milestone
Search Terms
isImportTypeAssertionContainer
Suggestion
TypeScript's Compiler APIs include
is
functions for all kinds of Nodes. For example,isClassDeclaration
,isBigIntLiteral
, and so on.In TypeScript 4.7 a new kind of node is introduced:
ImportTypeAssertionContainer
, but noisImportTypeAssertionContainer
predicate function is exposed. For consistency with other kinds of Nodes, TypeScript should arguably also expose such a predicate function.Use Cases
Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: