(sig, context)
| 73068 | : getJsxPropsTypeFromClassType(signature, node); |
| 73069 | } |
| 73070 | function getJsxPropsTypeFromCallSignature(sig, context) { |
| 73071 | var propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType); |
| 73072 | propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType); |
| 73073 | var intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); |
| 73074 | if (!isErrorType(intrinsicAttribs)) { |
| 73075 | propsType = intersectTypes(intrinsicAttribs, propsType); |
| 73076 | } |
| 73077 | return propsType; |
| 73078 | } |
| 73079 | function getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation) { |
| 73080 | if (sig.compositeSignatures) { |
| 73081 | // JSX Elements using the legacy `props`-field based lookup (eg, react class components) need to treat the `props` member as an input |
no test coverage detected
searching dependent graphs…