mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
fix(41176): Missing Compiler API predicate function: isTemplateLiteralTypeNode (#41177)
This commit is contained in:
@@ -237,6 +237,10 @@ namespace ts {
|
||||
return node.kind === SyntaxKind.TemplateLiteralTypeSpan;
|
||||
}
|
||||
|
||||
export function isTemplateLiteralTypeNode(node: Node): node is TemplateLiteralTypeNode {
|
||||
return node.kind === SyntaxKind.TemplateLiteralType;
|
||||
}
|
||||
|
||||
// Binding patterns
|
||||
|
||||
export function isObjectBindingPattern(node: Node): node is ObjectBindingPattern {
|
||||
|
||||
Reference in New Issue
Block a user