TypeScript/tests/cases/conformance/expressions/typeGuards
Orta Therox 8c5fa5cc91
Revert assignability cases in getNarrowedType (#42231)
* Revert subtype narrowing changes from readonly array PRs

* Adds a test for the change

* More baselines
2021-02-09 15:03:11 -08:00
..
nullOrUndefinedTypeGuardIsOrderIndependent.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardEnums.ts
typeGuardFunction.ts
typeGuardFunctionErrors.ts Added tests 2017-07-20 02:59:33 +03:00
typeGuardFunctionGenerics.ts
typeGuardFunctionOfFormThis.ts Fixing tests 2016-04-09 18:31:19 -07:00
typeGuardFunctionOfFormThisErrors.ts
typeGuardInClass.ts
typeGuardIntersectionTypes.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardNarrowsPrimitiveIntersection.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardNarrowsToLiteralType.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardNarrowsToLiteralTypeUnion.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardNesting.ts
typeGuardOfFormExpr1AndExpr2.ts
typeGuardOfFormExpr1OrExpr2.ts
typeGuardOfFormFunctionEquality.ts
typeGuardOfFormInstanceOf.ts
typeGuardOfFormInstanceOfOnInterface.ts
typeGuardOfFormIsType.ts
typeGuardOfFormIsTypeOnInterfaces.ts
typeGuardOfFormNotExpr.ts
typeGuardOfFormThisMember.ts
typeGuardOfFormThisMemberErrors.ts
typeGuardOfFormTypeOfBoolean.ts Fix some tests 2016-03-29 19:59:05 -07:00
typeGuardOfFormTypeOfEqualEqualHasNoEffect.ts
typeGuardOfFormTypeOfFunction.ts Add tests 2018-06-02 17:43:37 -07:00
typeGuardOfFormTypeOfIsOrderIndependent.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardOfFormTypeOfNotEqualHasNoEffect.ts
typeGuardOfFormTypeOfNumber.ts Fix some tests 2016-03-29 19:59:05 -07:00
typeGuardOfFormTypeOfOther.ts Add typeof test case and update baselines 2017-01-31 10:28:32 -08:00
typeGuardOfFormTypeOfPrimitiveSubtype.ts
typeGuardOfFormTypeOfString.ts Fix some tests 2016-03-29 19:59:05 -07:00
typeGuardOfFromPropNameInUnionType.ts Test:in doesn't narrow types with string indexers 2017-12-07 10:56:33 -08:00
typeGuardRedundancy.ts
typeGuardsDefeat.ts
typeGuardsInClassAccessors.ts
typeGuardsInClassMethods.ts
typeGuardsInConditionalExpression.ts
typeGuardsInDoStatement.ts
typeGuardsInExternalModule.ts
typeGuardsInForStatement.ts
typeGuardsInFunction.ts
typeGuardsInFunctionAndModuleBlock.ts Fix test 2016-05-26 16:26:30 -07:00
typeGuardsInGlobal.ts
typeGuardsInIfStatement.ts
typeGuardsInModule.ts
typeGuardsInProperties.ts
typeGuardsInRightOperandOfAndAndOperator.ts
typeGuardsInRightOperandOfOrOrOperator.ts
typeGuardsInWhileStatement.ts
typeGuardsObjectMethods.ts
typeGuardsOnClassProperty.ts
typeGuardsWithAny.ts
typeGuardsWithInstanceOf.ts Revert assignability cases in getNarrowedType (#42231) 2021-02-09 15:03:11 -08:00
typeGuardsWithInstanceOfByConstructorSignature.ts [Transforms] Merge master 08/09 (#10263) 2016-08-26 15:51:10 -07:00
typeGuardTautologicalConsistiency.ts
typeGuardTypeOfUndefined.ts
TypeGuardWithArrayUnion.ts
TypeGuardWithEnumUnion.ts
typePredicateASI.ts
typePredicateOnVariableDeclaration01.ts
typePredicateOnVariableDeclaration02.ts