(tagName, typeArguments, attributes)
| 26016 | } |
| 26017 | // @api |
| 26018 | function createJsxSelfClosingElement(tagName, typeArguments, attributes) { |
| 26019 | var node = createBaseNode(279 /* SyntaxKind.JsxSelfClosingElement */); |
| 26020 | node.tagName = tagName; |
| 26021 | node.typeArguments = asNodeArray(typeArguments); |
| 26022 | node.attributes = attributes; |
| 26023 | node.transformFlags |= |
| 26024 | propagateChildFlags(node.tagName) | |
| 26025 | propagateChildrenFlags(node.typeArguments) | |
| 26026 | propagateChildFlags(node.attributes) | |
| 26027 | 2 /* TransformFlags.ContainsJsx */; |
| 26028 | if (node.typeArguments) { |
| 26029 | node.transformFlags |= 1 /* TransformFlags.ContainsTypeScript */; |
| 26030 | } |
| 26031 | return node; |
| 26032 | } |
| 26033 | // @api |
| 26034 | function updateJsxSelfClosingElement(node, tagName, typeArguments, attributes) { |
| 26035 | return node.tagName !== tagName |
no test coverage detected
searching dependent graphs…