TypeScript/tests/cases/conformance/jsx
Wesley Wigham 0c36266706
Obey the excludeArgument parameter when checking JSX signature validity (#28002)
* Obey the excludeArgument parameter when checking JSX signature validity

* Fix conditional type extending any contextual types and accept baselines

* use flag check to also drop unknown from comparison for the same reason

* Slight refinement - make an intersection to ensure parameter constraints flow through contextual types when instantiated

* Format ternary more nicely
2018-10-22 16:36:11 -07:00
..
inline Lookup JSX namespace within factory function (#22207) 2018-02-28 15:48:33 -08:00
checkJsxChildrenCanBeTupleType.tsx Infer tuples for jsx children if contextually typed by a tuple (#27409) 2018-10-04 17:56:38 -07:00
checkJsxChildrenProperty1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty3.tsx
checkJsxChildrenProperty4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty5.tsx
checkJsxChildrenProperty6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty10.tsx
checkJsxChildrenProperty11.tsx
checkJsxChildrenProperty12.tsx
checkJsxChildrenProperty13.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty14.tsx Add baselines 2017-10-17 09:38:23 -07:00
checkJsxGenericTagHasCorrectInferences.tsx Fix JSX contextual types to not eagerly become apparent, use 2-pass inference for JSX (#21383) 2018-02-05 16:33:39 -08:00
checkJsxIntersectionElementPropsType.tsx Infer over each mapped type constraint member if it is a union (#28006) 2018-10-22 16:33:43 -07:00
checkJsxSubtleSkipContextSensitiveBug.tsx Obey the excludeArgument parameter when checking JSX signature validity (#28002) 2018-10-22 16:36:11 -07:00
checkJsxUnionSFXContextualTypeInferredCorrectly.tsx Discriminate jsx contextual types same as object contextual types (#27408) 2018-10-05 15:11:12 -07:00
commentEmittingInPreserveJsx1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
correctlyMarkAliasAsReferences1.tsx
correctlyMarkAliasAsReferences2.tsx
correctlyMarkAliasAsReferences3.tsx
correctlyMarkAliasAsReferences4.tsx
jsxAndTypeAssertion.tsx
jsxCheckJsxNoTypeArgumentsAllowed.tsx Parse and check type arguments on JSX opening and self-closing tags (#22415) 2018-03-22 15:07:36 -07:00
jsxEsprimaFbTestSuite.tsx
jsxInvalidEsprimaTestSuite.tsx handle multiline jsx strings correctly, emit escapes in jsx attributes correctly (#20309) 2017-11-29 17:08:51 -08:00
jsxParsingError1.tsx
jsxParsingError2.tsx
jsxReactTestSuite.tsx
tsxAttributeErrors.tsx
tsxAttributeInvalidNames.tsx
tsxAttributeResolution.tsx
tsxAttributeResolution1.tsx
tsxAttributeResolution2.tsx
tsxAttributeResolution3.tsx
tsxAttributeResolution4.tsx
tsxAttributeResolution5.tsx
tsxAttributeResolution6.tsx
tsxAttributeResolution7.tsx
tsxAttributeResolution8.tsx
tsxAttributeResolution9.tsx
tsxAttributeResolution10.tsx
tsxAttributeResolution11.tsx
tsxAttributeResolution12.tsx
tsxAttributeResolution13.tsx
tsxAttributeResolution14.tsx
tsxAttributeResolution15.tsx Unify JSX And Normal Call Checking Codepaths (#27627) 2018-10-16 20:16:00 -04:00
tsxAttributeResolution16.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxCorrectlyParseLessThanComparison1.tsx
tsxDefaultAttributesResolution1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDefaultAttributesResolution2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDefaultAttributesResolution3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDynamicTagName1.tsx
tsxDynamicTagName2.tsx
tsxDynamicTagName3.tsx
tsxDynamicTagName4.tsx
tsxDynamicTagName5.tsx
tsxDynamicTagName6.tsx
tsxDynamicTagName7.tsx
tsxDynamicTagName8.tsx
tsxDynamicTagName9.tsx
tsxElementResolution.tsx
tsxElementResolution1.tsx
tsxElementResolution2.tsx
tsxElementResolution3.tsx
tsxElementResolution4.tsx
tsxElementResolution5.tsx
tsxElementResolution6.tsx
tsxElementResolution7.tsx
tsxElementResolution8.tsx
tsxElementResolution9.tsx
tsxElementResolution10.tsx
tsxElementResolution11.tsx
tsxElementResolution12.tsx
tsxElementResolution13.tsx
tsxElementResolution14.tsx
tsxElementResolution15.tsx
tsxElementResolution16.tsx
tsxElementResolution17.tsx
tsxElementResolution18.tsx
tsxElementResolution19.tsx
tsxEmit1.tsx
tsxEmit2.tsx
tsxEmit3.tsx
tsxErrorRecovery1.tsx
tsxErrorRecovery2.tsx
tsxErrorRecovery3.tsx
tsxExternalModuleEmit1.tsx
tsxExternalModuleEmit2.tsx
tsxFragmentErrors.tsx Update tests 2017-10-17 09:38:22 -07:00
tsxFragmentPreserveEmit.tsx Allow characters in JsxText inside JsxFragment that would not normally scan 2018-02-22 15:56:34 -08:00
tsxFragmentReactEmit.tsx Allow characters in JsxText inside JsxFragment that would not normally scan 2018-02-22 15:56:34 -08:00
tsxGenericArrowFunctionParsing.tsx
tsxGenericAttributesType1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType4.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxGenericAttributesType5.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxGenericAttributesType6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxInArrowFunction.tsx
tsxIntrinsicAttributeErrors.tsx Skip IntrinsicAttributes elaboration in JSX errors (#24461) 2018-05-29 14:00:26 -07:00
tsxLibraryManagedAttributes.tsx Support LibraryManagedAttributes<TComponent, TAttributes> JSX namespace type (#24422) 2018-06-29 18:45:29 -07:00
tsxNoJsx.tsx
tsxOpeningClosingNames.tsx
tsxParseTests1.tsx
tsxParseTests2.tsx
tsxPreserveEmit1.tsx
tsxPreserveEmit2.tsx
tsxPreserveEmit3.tsx
tsxReactComponentWithDefaultTypeParameter1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxReactComponentWithDefaultTypeParameter2.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxReactComponentWithDefaultTypeParameter3.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxReactEmit1.tsx
tsxReactEmit2.tsx
tsxReactEmit3.tsx
tsxReactEmit4.tsx
tsxReactEmit5.tsx
tsxReactEmit6.tsx
tsxReactEmit7.tsx
tsxReactEmitEntities.tsx
tsxReactEmitNesting.tsx
tsxReactEmitWhitespace.tsx
tsxReactEmitWhitespace2.tsx
tsxSfcReturnNull.tsx
tsxSfcReturnNullStrictNullChecks.tsx Allow JSXAttributes types to be shortcut-spread into the spread type like normal objects (#19047) 2017-12-15 16:13:28 -08:00
tsxSfcReturnUndefinedStrictNullChecks.tsx Allow JSXAttributes types to be shortcut-spread into the spread type like normal objects (#19047) 2017-12-15 16:13:28 -08:00
tsxSpreadAttributesResolution1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution2.tsx Unify JSX And Normal Call Checking Codepaths (#27627) 2018-10-16 20:16:00 -04:00
tsxSpreadAttributesResolution3.tsx
tsxSpreadAttributesResolution4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution10.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution11.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution12.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution13.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution14.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution15.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution16.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution17.tsx Fix JSX attribute checking when spreading unions 2018-01-22 13:34:12 -08:00
tsxSpreadChildren.tsx
tsxSpreadChildrenInvalidType.tsx
tsxStatelessFunctionComponentOverload1.tsx
tsxStatelessFunctionComponentOverload2.tsx
tsxStatelessFunctionComponentOverload3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentOverload4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentOverload5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentOverload6.tsx
tsxStatelessFunctionComponents1.tsx
tsxStatelessFunctionComponents2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponents3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments2.tsx
tsxStatelessFunctionComponentsWithTypeArguments3.tsx
tsxStatelessFunctionComponentsWithTypeArguments4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentWithDefaultTypeParameter1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentWithDefaultTypeParameter2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxTypeArgumentResolution.tsx Parse and check type arguments on JSX opening and self-closing tags (#22415) 2018-03-22 15:07:36 -07:00
tsxTypeErrors.tsx
tsxUnionElementType1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionTypeComponent1.tsx
tsxUnionTypeComponent2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00