mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Delete some files
This commit is contained in:
parent
40d1719eb7
commit
7b80001968
@ -1,92 +0,0 @@
|
||||
=== tests/cases/conformance/jsx/jsxEsprimaFbTestSuite.tsx ===
|
||||
declare var React: any;
|
||||
>React : Symbol(React, Decl(jsxEsprimaFbTestSuite.tsx, 0, 11))
|
||||
|
||||
declare var 日本語;
|
||||
>日本語 : Symbol(日本語, Decl(jsxEsprimaFbTestSuite.tsx, 1, 11))
|
||||
|
||||
declare var AbC_def;
|
||||
>AbC_def : Symbol(AbC_def, Decl(jsxEsprimaFbTestSuite.tsx, 2, 11))
|
||||
|
||||
declare var LeftRight;
|
||||
>LeftRight : Symbol(LeftRight, Decl(jsxEsprimaFbTestSuite.tsx, 3, 11))
|
||||
|
||||
declare var x;
|
||||
>x : Symbol(x, Decl(jsxEsprimaFbTestSuite.tsx, 4, 11))
|
||||
|
||||
declare var a;
|
||||
>a : Symbol(a, Decl(jsxEsprimaFbTestSuite.tsx, 5, 11))
|
||||
|
||||
declare var props;
|
||||
>props : Symbol(props, Decl(jsxEsprimaFbTestSuite.tsx, 6, 11))
|
||||
|
||||
<a />;
|
||||
|
||||
//<n:a n:v />; Namespace unsuported
|
||||
|
||||
//<a n:foo="bar"> {value} <b><c /></b></a>; Namespace unsuported
|
||||
|
||||
<a b={" "} c=" " d="&" e="id=1&group=2" f="�" g="{*;" h="&#x;" />;
|
||||
>b : Symbol(unknown)
|
||||
>c : Symbol(unknown)
|
||||
>d : Symbol(unknown)
|
||||
>e : Symbol(unknown)
|
||||
>f : Symbol(unknown)
|
||||
>g : Symbol(unknown)
|
||||
>h : Symbol(unknown)
|
||||
|
||||
<a b="¬anentity;" />;
|
||||
>b : Symbol(unknown)
|
||||
|
||||
<a
|
||||
/>;
|
||||
|
||||
<日本語></日本語>;
|
||||
|
||||
<AbC_def
|
||||
>AbC_def : Symbol(AbC_def, Decl(jsxEsprimaFbTestSuite.tsx, 2, 11))
|
||||
|
||||
test="&&">
|
||||
>test : Symbol(unknown)
|
||||
|
||||
bar
|
||||
baz
|
||||
</AbC_def>;
|
||||
|
||||
<a b={x ? <c /> : <d />} />;
|
||||
>b : Symbol(unknown)
|
||||
>x : Symbol(x, Decl(jsxEsprimaFbTestSuite.tsx, 4, 11))
|
||||
|
||||
<a>{}</a>;
|
||||
|
||||
<a>{/* this is a comment */}</a>;
|
||||
|
||||
<div>@test content</div>;
|
||||
|
||||
<div><br />7x invalid-js-identifier</div>;
|
||||
|
||||
<LeftRight left=<a /> right=<b>monkeys /> gorillas</b> />;
|
||||
>LeftRight : Symbol(LeftRight, Decl(jsxEsprimaFbTestSuite.tsx, 3, 11))
|
||||
>left : Symbol(unknown)
|
||||
>right : Symbol(unknown)
|
||||
|
||||
<a.b></a.b>;
|
||||
>b : Symbol(unknown)
|
||||
|
||||
<a.b.c></a.b.c>;
|
||||
>c : Symbol(unknown)
|
||||
|
||||
(<div />) < x;
|
||||
>x : Symbol(x, Decl(jsxEsprimaFbTestSuite.tsx, 4, 11))
|
||||
|
||||
<div {...props} />;
|
||||
|
||||
<div {...props} post="attribute" />;
|
||||
>post : Symbol(unknown)
|
||||
|
||||
<div pre="leading" pre2="attribute" {...props}></div>;
|
||||
>pre : Symbol(unknown)
|
||||
>pre2 : Symbol(unknown)
|
||||
|
||||
<a> </a>;
|
||||
|
||||
@ -1,160 +0,0 @@
|
||||
=== tests/cases/conformance/jsx/jsxEsprimaFbTestSuite.tsx ===
|
||||
declare var React: any;
|
||||
>React : any
|
||||
|
||||
declare var 日本語;
|
||||
>日本語 : any
|
||||
|
||||
declare var AbC_def;
|
||||
>AbC_def : any
|
||||
|
||||
declare var LeftRight;
|
||||
>LeftRight : any
|
||||
|
||||
declare var x;
|
||||
>x : any
|
||||
|
||||
declare var a;
|
||||
>a : any
|
||||
|
||||
declare var props;
|
||||
>props : any
|
||||
|
||||
<a />;
|
||||
><a /> : any
|
||||
>a : any
|
||||
|
||||
//<n:a n:v />; Namespace unsuported
|
||||
|
||||
//<a n:foo="bar"> {value} <b><c /></b></a>; Namespace unsuported
|
||||
|
||||
<a b={" "} c=" " d="&" e="id=1&group=2" f="�" g="{*;" h="&#x;" />;
|
||||
><a b={" "} c=" " d="&" e="id=1&group=2" f="�" g="{*;" h="&#x;" /> : any
|
||||
>a : any
|
||||
>b : any
|
||||
>c : any
|
||||
>d : any
|
||||
>e : any
|
||||
>f : any
|
||||
>g : any
|
||||
>h : any
|
||||
|
||||
<a b="¬anentity;" />;
|
||||
><a b="¬anentity;" /> : any
|
||||
>a : any
|
||||
>b : any
|
||||
|
||||
<a
|
||||
><a/> : any
|
||||
>a : any
|
||||
|
||||
/>;
|
||||
|
||||
<日本語></日本語>;
|
||||
><日本語></日本語> : any
|
||||
>日本語 : any
|
||||
>日本語 : any
|
||||
|
||||
<AbC_def
|
||||
><AbC_def test="&&">barbaz</AbC_def> : any
|
||||
>AbC_def : any
|
||||
|
||||
test="&&">
|
||||
>test : any
|
||||
|
||||
bar
|
||||
baz
|
||||
</AbC_def>;
|
||||
>AbC_def : any
|
||||
|
||||
<a b={x ? <c /> : <d />} />;
|
||||
><a b={x ? <c /> : <d />} /> : any
|
||||
>a : any
|
||||
>b : any
|
||||
>x ? <c /> : <d /> : any
|
||||
>x : any
|
||||
><c /> : any
|
||||
>c : any
|
||||
><d /> : any
|
||||
>d : any
|
||||
|
||||
<a>{}</a>;
|
||||
><a>{}</a> : any
|
||||
>a : any
|
||||
>a : any
|
||||
|
||||
<a>{/* this is a comment */}</a>;
|
||||
><a>{/* this is a comment */}</a> : any
|
||||
>a : any
|
||||
>a : any
|
||||
|
||||
<div>@test content</div>;
|
||||
><div>@test content</div> : any
|
||||
>div : any
|
||||
>div : any
|
||||
|
||||
<div><br />7x invalid-js-identifier</div>;
|
||||
><div><br />7x invalid-js-identifier</div> : any
|
||||
>div : any
|
||||
><br /> : any
|
||||
>br : any
|
||||
>div : any
|
||||
|
||||
<LeftRight left=<a /> right=<b>monkeys /> gorillas</b> />;
|
||||
><LeftRight left=<a /> right=<b>monkeys /> gorillas</b> /> : any
|
||||
>LeftRight : any
|
||||
>left : any
|
||||
><a /> : any
|
||||
>a : any
|
||||
>right : any
|
||||
><b>monkeys /> gorillas</b> : any
|
||||
>b : any
|
||||
>b : any
|
||||
|
||||
<a.b></a.b>;
|
||||
><a.b></a.b> : any
|
||||
>a : any
|
||||
>b : any
|
||||
>a : any
|
||||
>b : any
|
||||
|
||||
<a.b.c></a.b.c>;
|
||||
><a.b.c></a.b.c> : any
|
||||
>a : any
|
||||
>b : any
|
||||
>c : any
|
||||
>a : any
|
||||
>b : any
|
||||
>c : any
|
||||
|
||||
(<div />) < x;
|
||||
>(<div />) < x : boolean
|
||||
>(<div />) : any
|
||||
><div /> : any
|
||||
>div : any
|
||||
>x : any
|
||||
|
||||
<div {...props} />;
|
||||
><div {...props} /> : any
|
||||
>div : any
|
||||
>props : any
|
||||
|
||||
<div {...props} post="attribute" />;
|
||||
><div {...props} post="attribute" /> : any
|
||||
>div : any
|
||||
>props : any
|
||||
>post : any
|
||||
|
||||
<div pre="leading" pre2="attribute" {...props}></div>;
|
||||
><div pre="leading" pre2="attribute" {...props}></div> : any
|
||||
>div : any
|
||||
>pre : any
|
||||
>pre2 : any
|
||||
>props : any
|
||||
>div : any
|
||||
|
||||
<a> </a>;
|
||||
><a> </a> : any
|
||||
>a : any
|
||||
>a : any
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
=== tests/cases/conformance/jsx/tsxElementResolution16.tsx ===
|
||||
declare module JSX {
|
||||
>JSX : Symbol(JSX, Decl(tsxElementResolution16.tsx, 0, 0))
|
||||
}
|
||||
|
||||
interface Obj1 {
|
||||
>Obj1 : Symbol(Obj1, Decl(tsxElementResolution16.tsx, 1, 1))
|
||||
|
||||
new(n: string): {};
|
||||
>n : Symbol(n, Decl(tsxElementResolution16.tsx, 4, 5))
|
||||
}
|
||||
var obj1: Obj1;
|
||||
>obj1 : Symbol(obj1, Decl(tsxElementResolution16.tsx, 6, 3))
|
||||
>Obj1 : Symbol(Obj1, Decl(tsxElementResolution16.tsx, 1, 1))
|
||||
|
||||
<obj1 x={10} />; // Error (JSX.Element is missing)
|
||||
>x : Symbol(unknown)
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
=== tests/cases/conformance/jsx/tsxElementResolution16.tsx ===
|
||||
declare module JSX {
|
||||
>JSX : any
|
||||
}
|
||||
|
||||
interface Obj1 {
|
||||
>Obj1 : Obj1
|
||||
|
||||
new(n: string): {};
|
||||
>n : string
|
||||
}
|
||||
var obj1: Obj1;
|
||||
>obj1 : Obj1
|
||||
>Obj1 : Obj1
|
||||
|
||||
<obj1 x={10} />; // Error (JSX.Element is missing)
|
||||
><obj1 x={10} /> : any
|
||||
>obj1 : Obj1
|
||||
>x : any
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
tests/cases/conformance/jsx/button.tsx(1,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/conformance/jsx/react.d.ts (0 errors) ====
|
||||
|
||||
declare module 'react' {
|
||||
class Component<T, U> { }
|
||||
}
|
||||
|
||||
==== tests/cases/conformance/jsx/app.tsx (0 errors) ====
|
||||
import * as React from 'react';
|
||||
|
||||
// Should see var button_1 = require('./button') here
|
||||
import { Button } from './button';
|
||||
|
||||
export class App extends React.Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <Button />;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
==== tests/cases/conformance/jsx/button.tsx (1 errors) ====
|
||||
import * as React from 'react';
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
||||
|
||||
export class Button extends React.Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <button>Some button</button>;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user