(
jsxElement: JSXElement,
output: JSXOutputState,
transformContext: ts.TransformationContext,
nodeTypeStr: string,
attributeStatements: JSXAttributeStatements,
)
| 851 | } |
| 852 | |
| 853 | private outputJSXSlot( |
| 854 | jsxElement: JSXElement, |
| 855 | output: JSXOutputState, |
| 856 | transformContext: ts.TransformationContext, |
| 857 | nodeTypeStr: string, |
| 858 | attributeStatements: JSXAttributeStatements, |
| 859 | ): JSXNodeOutput { |
| 860 | const beginRenderStatement = this.outputRenderSlot(jsxElement, transformContext); |
| 861 | return { |
| 862 | beginRenderStatement, |
| 863 | endRenderStatement: undefined, |
| 864 | statements: [beginRenderStatement], |
| 865 | }; |
| 866 | } |
| 867 | |
| 868 | private throwInvalidJSXFunctionComponentAttribute(jsxElement: JSXElement, attributeName: string) { |
| 869 | this.onError(jsxElement.element, `'${attributeName}' attribute is not supported in Inline Function Components`); |
no test coverage detected