From 7054e73ee7b28e425dc2242758c13aa1468093d4 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 21 Jun 2018 21:47:39 -0700 Subject: [PATCH] Accepted baselines. --- .../checkJsxChildrenProperty14.errors.txt | 14 ++-- .../checkJsxChildrenProperty2.errors.txt | 78 +++++++++++-------- .../checkJsxChildrenProperty4.errors.txt | 14 ++-- .../checkJsxChildrenProperty5.errors.txt | 34 ++++---- .../checkJsxChildrenProperty7.errors.txt | 50 ++++++------ ...StringLiteralsInJsxAttributes02.errors.txt | 12 ++- ...OnWeakTypeIntersectionTargets01.errors.txt | 30 +++---- .../tsxAttributeResolution12.errors.txt | 8 +- ...ponentWithDefaultTypeParameter3.errors.txt | 6 +- ...tsxSpreadAttributesResolution12.errors.txt | 10 ++- ...tsxSpreadAttributesResolution16.errors.txt | 6 +- .../tsxSpreadAttributesResolution2.errors.txt | 32 +++++--- .../tsxSpreadAttributesResolution5.errors.txt | 10 ++- .../tsxSpreadAttributesResolution6.errors.txt | 6 +- ...elessFunctionComponentOverload4.errors.txt | 28 ++++--- ...elessFunctionComponentOverload5.errors.txt | 30 ++++--- ...tsxStatelessFunctionComponents1.errors.txt | 12 ++- ...ionComponentsWithTypeArguments2.errors.txt | 4 +- ...ionComponentsWithTypeArguments4.errors.txt | 10 ++- .../reference/tsxUnionElementType6.errors.txt | 12 ++- 20 files changed, 242 insertions(+), 164 deletions(-) diff --git a/tests/baselines/reference/checkJsxChildrenProperty14.errors.txt b/tests/baselines/reference/checkJsxChildrenProperty14.errors.txt index cf999188ebc..26676a08b29 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty14.errors.txt +++ b/tests/baselines/reference/checkJsxChildrenProperty14.errors.txt @@ -1,7 +1,8 @@ tests/cases/conformance/jsx/file.tsx(42,11): error TS2322: Type '{ children: Element[]; a: number; b: string; }' is not assignable to type 'SingleChildProp'. - Types of property 'children' are incompatible. - Type 'Element[]' is not assignable to type 'Element'. - Property 'type' is missing in type 'Element[]'. + Type '{ children: Element[]; a: number; b: string; }' is not assignable to type 'SingleChildProp'. + Types of property 'children' are incompatible. + Type 'Element[]' is not assignable to type 'Element'. + Property 'type' is missing in type 'Element[]'. ==== tests/cases/conformance/jsx/file.tsx (1 errors) ==== @@ -49,6 +50,7 @@ tests/cases/conformance/jsx/file.tsx(42,11): error TS2322: Type '{ children: Ele let k5 = <>