Skip to content

Commit 783f65c

Browse files
committed
Baseline update
1 parent bafe053 commit 783f65c

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

tests/baselines/reference/tsxStatelessFunctionComponents1.errors.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(12,9): error TS2324: Property 'name' is missing in type 'IntrinsicAttributes & { name: string; }'.
2-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(12,16): error TS2339: Property 'naaame' does not exist on type 'IntrinsicAttributes & { name: string; }'.
3-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(19,15): error TS2322: Type 'number' is not assignable to type 'string'.
4-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(21,15): error TS2339: Property 'naaaaaaame' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
1+
tests/cases/conformance/jsx/file.tsx(12,9): error TS2324: Property 'name' is missing in type 'IntrinsicAttributes & { name: string; }'.
2+
tests/cases/conformance/jsx/file.tsx(12,16): error TS2339: Property 'naaame' does not exist on type 'IntrinsicAttributes & { name: string; }'.
3+
tests/cases/conformance/jsx/file.tsx(19,15): error TS2322: Type 'number' is not assignable to type 'string'.
4+
tests/cases/conformance/jsx/file.tsx(21,15): error TS2339: Property 'naaaaaaame' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
55

66

7-
==== tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx (4 errors) ====
7+
==== tests/cases/conformance/jsx/file.tsx (4 errors) ====
88

99
function Greet(x: {name: string}) {
1010
return <div>Hello, {x}</div>;

tests/baselines/reference/tsxStatelessFunctionComponents1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tsxStatelessFunctionComponents1.tsx]
1+
//// [file.tsx]
22

33
function Greet(x: {name: string}) {
44
return <div>Hello, {x}</div>;
@@ -22,7 +22,7 @@ let e = <Meet name={42} />;
2222
let f = <Meet naaaaaaame='no' />;
2323

2424

25-
//// [tsxStatelessFunctionComponents1.jsx]
25+
//// [file.jsx]
2626
function Greet(x) {
2727
return <div>Hello, {x}</div>;
2828
}

tests/baselines/reference/tsxStatelessFunctionComponents2.errors.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(2,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
2-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(20,16): error TS2339: Property 'ref' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
3-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(26,42): error TS2339: Property 'subtr' does not exist on type 'string'.
4-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(28,33): error TS2339: Property 'notARealProperty' does not exist on type 'BigGreeter'.
5-
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(36,26): error TS2339: Property 'propertyNotOnHtmlDivElement' does not exist on type 'HTMLDivElement'.
1+
tests/cases/conformance/jsx/file.tsx(2,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
2+
tests/cases/conformance/jsx/file.tsx(20,16): error TS2339: Property 'ref' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
3+
tests/cases/conformance/jsx/file.tsx(26,42): error TS2339: Property 'subtr' does not exist on type 'string'.
4+
tests/cases/conformance/jsx/file.tsx(28,33): error TS2339: Property 'notARealProperty' does not exist on type 'BigGreeter'.
5+
tests/cases/conformance/jsx/file.tsx(36,26): error TS2339: Property 'propertyNotOnHtmlDivElement' does not exist on type 'HTMLDivElement'.
66

77

8-
==== tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx (5 errors) ====
8+
==== tests/cases/conformance/jsx/file.tsx (5 errors) ====
99

1010
import React = require('react');
1111
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/baselines/reference/tsxStatelessFunctionComponents2.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tsxStatelessFunctionComponents2.tsx]
1+
//// [file.tsx]
22

33
import React = require('react');
44

@@ -38,7 +38,8 @@ let i = <div ref={x => x.propertyNotOnHtmlDivElement} />;
3838

3939

4040

41-
//// [tsxStatelessFunctionComponents2.jsx]
41+
//// [file.jsx]
42+
"use strict";
4243
var __extends = (this && this.__extends) || function (d, b) {
4344
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
4445
function __() { this.constructor = d; }

0 commit comments

Comments
 (0)