Baseline update

This commit is contained in:
Ryan Cavanaugh 2015-12-01 14:22:07 -08:00
parent bafe053925
commit 783f65c6d9
4 changed files with 16 additions and 15 deletions

View file

@ -1,10 +1,10 @@
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(12,9): error TS2324: Property 'name' is missing in type 'IntrinsicAttributes & { name: string; }'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(12,16): error TS2339: Property 'naaame' does not exist on type 'IntrinsicAttributes & { name: string; }'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(19,15): error TS2322: Type 'number' is not assignable to type 'string'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx(21,15): error TS2339: Property 'naaaaaaame' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
tests/cases/conformance/jsx/file.tsx(12,9): error TS2324: Property 'name' is missing in type 'IntrinsicAttributes & { name: string; }'.
tests/cases/conformance/jsx/file.tsx(12,16): error TS2339: Property 'naaame' does not exist on type 'IntrinsicAttributes & { name: string; }'.
tests/cases/conformance/jsx/file.tsx(19,15): error TS2322: Type 'number' is not assignable to type 'string'.
tests/cases/conformance/jsx/file.tsx(21,15): error TS2339: Property 'naaaaaaame' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
==== tests/cases/conformance/jsx/tsxStatelessFunctionComponents1.tsx (4 errors) ====
==== tests/cases/conformance/jsx/file.tsx (4 errors) ====
function Greet(x: {name: string}) {
return <div>Hello, {x}</div>;

View file

@ -1,4 +1,4 @@
//// [tsxStatelessFunctionComponents1.tsx]
//// [file.tsx]
function Greet(x: {name: string}) {
return <div>Hello, {x}</div>;
@ -22,7 +22,7 @@ let e = <Meet name={42} />;
let f = <Meet naaaaaaame='no' />;
//// [tsxStatelessFunctionComponents1.jsx]
//// [file.jsx]
function Greet(x) {
return <div>Hello, {x}</div>;
}

View file

@ -1,11 +1,11 @@
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(2,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(20,16): error TS2339: Property 'ref' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(26,42): error TS2339: Property 'subtr' does not exist on type 'string'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(28,33): error TS2339: Property 'notARealProperty' does not exist on type 'BigGreeter'.
tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx(36,26): error TS2339: Property 'propertyNotOnHtmlDivElement' does not exist on type 'HTMLDivElement'.
tests/cases/conformance/jsx/file.tsx(2,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
tests/cases/conformance/jsx/file.tsx(20,16): error TS2339: Property 'ref' does not exist on type 'IntrinsicAttributes & { name?: string; }'.
tests/cases/conformance/jsx/file.tsx(26,42): error TS2339: Property 'subtr' does not exist on type 'string'.
tests/cases/conformance/jsx/file.tsx(28,33): error TS2339: Property 'notARealProperty' does not exist on type 'BigGreeter'.
tests/cases/conformance/jsx/file.tsx(36,26): error TS2339: Property 'propertyNotOnHtmlDivElement' does not exist on type 'HTMLDivElement'.
==== tests/cases/conformance/jsx/tsxStatelessFunctionComponents2.tsx (5 errors) ====
==== tests/cases/conformance/jsx/file.tsx (5 errors) ====
import React = require('react');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -1,4 +1,4 @@
//// [tsxStatelessFunctionComponents2.tsx]
//// [file.tsx]
import React = require('react');
@ -38,7 +38,8 @@ let i = <div ref={x => x.propertyNotOnHtmlDivElement} />;
//// [tsxStatelessFunctionComponents2.jsx]
//// [file.jsx]
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }