Home
last modified time | relevance | path

Searched refs:jsx (Results 1 – 25 of 1113) sorted by relevance

12345678910>>...45

/third_party/typescript/tests/baselines/reference/
DjsDeclarationsReactComponents.symbols1 === tests/cases/conformance/jsdoc/declarations/jsDeclarationsReactComponents1.jsx ===
4 >React : Symbol(React, Decl(jsDeclarationsReactComponents1.jsx, 1, 6))
7 >PropTypes : Symbol(PropTypes, Decl(jsDeclarationsReactComponents1.jsx, 2, 6))
10 …clarationsReactComponents1.jsx, 4, 5), Decl(jsDeclarationsReactComponents1.jsx, 9, 2), Decl(jsDecl…
21 …yout.propTypes : Symbol(TabbedShowLayout.propTypes, Decl(jsDeclarationsReactComponents1.jsx, 9, 2))
22 …clarationsReactComponents1.jsx, 4, 5), Decl(jsDeclarationsReactComponents1.jsx, 9, 2), Decl(jsDecl…
23 >propTypes : Symbol(TabbedShowLayout.propTypes, Decl(jsDeclarationsReactComponents1.jsx, 9, 2))
26 >version : Symbol(version, Decl(jsDeclarationsReactComponents1.jsx, 11, 30))
28 >PropTypes : Symbol(PropTypes, Decl(jsDeclarationsReactComponents1.jsx, 2, 6))
34 …faultProps : Symbol(TabbedShowLayout.defaultProps, Decl(jsDeclarationsReactComponents1.jsx, 14, 2))
[all …]
DjsxInvalidEsprimaTestSuite.errors.txt1 tests/cases/conformance/jsx/1.tsx(3,1): error TS1128: Declaration or statement expected.
2 tests/cases/conformance/jsx/1.tsx(3,3): error TS1109: Expression expected.
3 tests/cases/conformance/jsx/1.tsx(3,4): error TS1109: Expression expected.
4 tests/cases/conformance/jsx/10.tsx(1,2): error TS2304: Cannot find name 'a'.
5 tests/cases/conformance/jsx/10.tsx(1,5): error TS1003: Identifier expected.
6 tests/cases/conformance/jsx/10.tsx(1,10): error TS2304: Cannot find name 'a'.
7 tests/cases/conformance/jsx/10.tsx(1,13): error TS1005: '>' expected.
8 tests/cases/conformance/jsx/10.tsx(1,14): error TS2304: Cannot find name 'c'.
9 tests/cases/conformance/jsx/10.tsx(1,16): error TS1109: Expression expected.
10 tests/cases/conformance/jsx/11.tsx(1,2): error TS2304: Cannot find name 'a'.
[all …]
DinlineJsxAndJsxFragPragma.errors.txt1 tests/cases/conformance/jsx/inline/preacty-no-fragment.tsx(5,12): error TS6133: 'Fragment' is decla…
2 tests/cases/conformance/jsx/inline/preacty-only-fragment-no-jsx.tsx(6,1): error TS2304: Cannot find…
3 tests/cases/conformance/jsx/inline/snabbdomy-only-fragment-no-jsx.tsx(4,1): error TS2304: Cannot fi…
6 ==== tests/cases/conformance/jsx/inline/renderer.d.ts (0 errors) ====
15 export function jsx(): void;
18 ==== tests/cases/conformance/jsx/inline/preacty.tsx (0 errors) ====
20 * @jsx h
26 ==== tests/cases/conformance/jsx/inline/snabbdomy.tsx (0 errors) ====
27 /* @jsx jsx */
29 import {jsx} from "./renderer";
[all …]
DinlineJsxAndJsxFragPragma.types1 === tests/cases/conformance/jsx/inline/renderer.d.ts ===
15 export function jsx(): void;
16 >jsx : () => void
21 === tests/cases/conformance/jsx/inline/preacty.tsx ===
23 * @jsx h
36 === tests/cases/conformance/jsx/inline/snabbdomy.tsx ===
37 /* @jsx jsx */
39 import {jsx} from "./renderer";
40 >jsx : () => void
48 === tests/cases/conformance/jsx/inline/preacty-only-fragment.tsx ===
[all …]
DjsxDeclarationsWithEsModuleInteropNoCrash.symbols1 === tests/cases/compiler/jsxDeclarationsWithEsModuleInteropNoCrash.jsx ===
4 >PropTypes : Symbol(PropTypes, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 1, 6))
7 >React : Symbol(React, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 2, 6))
10 >propTypes : Symbol(propTypes, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 4, 5))
13 >bar : Symbol(bar, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 4, 19))
15 >PropTypes : Symbol(PropTypes, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 1, 6))
21 >defaultProps : Symbol(defaultProps, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 8, 5))
24 >bar : Symbol(bar, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 8, 22))
29 …InteropNoCrash.jsx, 10, 2), Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 14, 1), Decl(jsxDe…
30 >bar : Symbol(bar, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 12, 14))
[all …]
DinlineJsxAndJsxFragPragma.symbols1 === tests/cases/conformance/jsx/inline/renderer.d.ts ===
19 export function jsx(): void;
20 >jsx : Symbol(jsx, Decl(renderer.d.ts, 7, 26))
25 === tests/cases/conformance/jsx/inline/preacty.tsx ===
27 * @jsx h
38 === tests/cases/conformance/jsx/inline/snabbdomy.tsx ===
39 /* @jsx jsx */
41 import {jsx} from "./renderer";
42 >jsx : Symbol(jsx, Decl(snabbdomy.tsx, 2, 8))
48 === tests/cases/conformance/jsx/inline/preacty-only-fragment.tsx ===
[all …]
DjsxInvalidEsprimaTestSuite.symbols1 === tests/cases/conformance/jsx/1.tsx ===
6 === tests/cases/conformance/jsx/2.tsx ===
9 === tests/cases/conformance/jsx/3.tsx ===
12 === tests/cases/conformance/jsx/4.tsx ===
17 === tests/cases/conformance/jsx/5.tsx ===
20 === tests/cases/conformance/jsx/6.tsx ===
23 === tests/cases/conformance/jsx/7.tsx ===
27 === tests/cases/conformance/jsx/8.tsx ===
30 === tests/cases/conformance/jsx/9.tsx ===
33 === tests/cases/conformance/jsx/10.tsx ===
[all …]
DjsxNamespaceImplicitImportJSXNamespaceFromPragmaPickedOverGlobalOne.symbols49 === /node_modules/@emotion/react/jsx-runtime/index.d.ts ===
50 export { EmotionJSX as JSX } from './jsx-namespace'
51 >EmotionJSX : Symbol(EmotionJSX, Decl(jsx-namespace.d.ts, 13, 54))
54 === /node_modules/@emotion/react/jsx-runtime/jsx-namespace.d.ts ===
58 >WithConditionalCSSProp : Symbol(WithConditionalCSSProp, Decl(jsx-namespace.d.ts, 0, 14))
59 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
60 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
63 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
64 >className : Symbol(className, Decl(jsx-namespace.d.ts, 3, 18))
65 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
[all …]
DjsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=react-jsx).symbols49 === /node_modules/@emotion/react/jsx-runtime/index.d.ts ===
50 export { EmotionJSX as JSX } from './jsx-namespace'
51 >EmotionJSX : Symbol(EmotionJSX, Decl(jsx-namespace.d.ts, 13, 54))
54 === /node_modules/@emotion/react/jsx-runtime/jsx-namespace.d.ts ===
58 >WithConditionalCSSProp : Symbol(WithConditionalCSSProp, Decl(jsx-namespace.d.ts, 0, 14))
59 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
60 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
63 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
64 >className : Symbol(className, Decl(jsx-namespace.d.ts, 3, 16))
65 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
[all …]
DjsxNamespaceImplicitImportJSXNamespaceFromConfigPickedOverGlobalOne(jsx=preserve).symbols49 === /node_modules/@emotion/react/jsx-runtime/index.d.ts ===
50 export { EmotionJSX as JSX } from './jsx-namespace'
51 >EmotionJSX : Symbol(EmotionJSX, Decl(jsx-namespace.d.ts, 13, 54))
54 === /node_modules/@emotion/react/jsx-runtime/jsx-namespace.d.ts ===
58 >WithConditionalCSSProp : Symbol(WithConditionalCSSProp, Decl(jsx-namespace.d.ts, 0, 14))
59 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
60 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
63 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
64 >className : Symbol(className, Decl(jsx-namespace.d.ts, 3, 16))
65 >P : Symbol(P, Decl(jsx-namespace.d.ts, 2, 28))
[all …]
DmoduleResolutionWithExtensions_notSupported2.errors.txt1 /a.ts(1,17): error TS6142: Module './jsx' was resolved to '/jsx.jsx', but '--jsx' is not set.
5 import jsx from "./jsx";
7 !!! error TS6142: Module './jsx' was resolved to '/jsx.jsx', but '--jsx' is not set.
9 ==== /jsx.jsx (0 errors) ====
10 // Test the error message if we have `--allowJs` but not `--jsx`.
DinlineJsxFactoryDeclarationsLocalTypes.errors.txt1 tests/cases/conformance/jsx/inline/component.tsx(4,136): error TS2609: JSX spread child must be an …
2 tests/cases/conformance/jsx/inline/component.tsx(4,140): error TS2532: Object is possibly 'undefine…
3jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'import("test…
4 tests/cases/conformance/jsx/inline/index.tsx(21,22): error TS2786: 'MySFC' cannot be used as a JSX …
5 …Its return type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' is not…
6 …("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' but required in type 'import(…
7jsx/inline/index.tsx(21,40): error TS2322: Type 'import("tests/cases/conformance/jsx/inline/render…
8 tests/cases/conformance/jsx/inline/index.tsx(21,41): error TS2786: 'MyClass' cannot be used as a JS…
11jsx/inline/index.tsx(21,63): error TS2322: Type 'import("tests/cases/conformance/jsx/inline/render…
12 tests/cases/conformance/jsx/inline/index.tsx(21,64): error TS2786: 'MyClass' cannot be used as a JS…
[all …]
DmoduleResolutionWithExtensions_notSupported.errors.txt1 /a.ts(1,17): error TS6142: Module './tsx' was resolved to '/tsx.tsx', but '--jsx' is not set.
2 /a.ts(2,17): error TS6142: Module './jsx' was resolved to '/jsx.jsx', but '--jsx' is not set.
8 !!! error TS6142: Module './tsx' was resolved to '/tsx.tsx', but '--jsx' is not set.
9 import jsx from "./jsx"; // Not allowed.
11 !!! error TS6142: Module './jsx' was resolved to '/jsx.jsx', but '--jsx' is not set.
16 ==== /jsx.jsx (0 errors) ====
DjsxInvalidEsprimaTestSuite.types1 === tests/cases/conformance/jsx/1.tsx ===
10 === tests/cases/conformance/jsx/2.tsx ===
15 === tests/cases/conformance/jsx/3.tsx ===
26 === tests/cases/conformance/jsx/4.tsx ===
33 === tests/cases/conformance/jsx/5.tsx ===
39 === tests/cases/conformance/jsx/6.tsx ===
45 === tests/cases/conformance/jsx/7.tsx ===
51 === tests/cases/conformance/jsx/8.tsx ===
57 === tests/cases/conformance/jsx/9.tsx ===
67 === tests/cases/conformance/jsx/10.tsx ===
[all …]
DjsxUnclosedParserRecovery.errors.txt1 tests/cases/conformance/jsx/jsxParserRecovery.tsx(12,1): error TS1003: Identifier expected.
2 tests/cases/conformance/jsx/jsxParserRecovery.tsx(16,1): error TS1003: Identifier expected.
3 tests/cases/conformance/jsx/jsxParserRecovery.tsx(19,12): error TS2558: Expected 0 type arguments, …
4 tests/cases/conformance/jsx/jsxParserRecovery.tsx(20,1): error TS1003: Identifier expected.
5 tests/cases/conformance/jsx/jsxParserRecovery.tsx(24,1): error TS1003: Identifier expected.
6 tests/cases/conformance/jsx/jsxParserRecovery.tsx(27,12): error TS2558: Expected 0 type arguments, …
7 tests/cases/conformance/jsx/jsxParserRecovery.tsx(28,1): error TS1003: Identifier expected.
8 tests/cases/conformance/jsx/jsxParserRecovery.tsx(32,1): error TS1005: '>' expected.
9 tests/cases/conformance/jsx/jsxParserRecovery.tsx(35,12): error TS2558: Expected 0 type arguments, …
10 tests/cases/conformance/jsx/jsxParserRecovery.tsx(36,1): error TS1005: '>' expected.
[all …]
DcheckJsxNotSetError.errors.txt1 /bar.jsx(1,17): error TS6142: Module '/foo' was resolved to '/foo.jsx', but '--jsx' is not set.
2 /bar.jsx(2,11): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
3 /foo.jsx(2,5): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
6 ==== /foo.jsx (1 errors) ====
10 !!! error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
14 ==== /bar.jsx (2 errors) ====
17 !!! error TS6142: Module '/foo' was resolved to '/foo.jsx', but '--jsx' is not set.
20 !!! error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
DjsxCheckJsxNoTypeArgumentsAllowed.errors.txt1 tests/cases/conformance/jsx/file.jsx(1,18): error TS18042: 'Prop' is a type and cannot be imported …
2 tests/cases/conformance/jsx/file.jsx(4,9): error TS2657: JSX expressions must have one parent eleme…
3 tests/cases/conformance/jsx/file.jsx(4,16): error TS1003: Identifier expected.
4 tests/cases/conformance/jsx/file.jsx(4,17): error TS2693: 'Prop' only refers to a type, but is bein…
5 tests/cases/conformance/jsx/file.jsx(4,17): error TS17008: JSX element 'Prop' has no corresponding …
6 tests/cases/conformance/jsx/file.jsx(4,38): error TS1382: Unexpected token. Did you mean `{'>'}` or…
7 tests/cases/conformance/jsx/file.jsx(5,1): error TS1005: '</' expected.
10 ==== tests/cases/conformance/jsx/component.d.ts (0 errors) ====
21 ==== tests/cases/conformance/jsx/file.jsx (7 errors) ====
DjsxParsingError2.errors.txt1 tests/cases/conformance/jsx/Error1.tsx(2,16): error TS17008: JSX element 'span' has no correspondin…
2 tests/cases/conformance/jsx/Error2.tsx(1,17): error TS17002: Expected corresponding JSX closing tag…
3 tests/cases/conformance/jsx/Error3.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
4 tests/cases/conformance/jsx/Error3.tsx(3,1): error TS1005: '</' expected.
5 tests/cases/conformance/jsx/Error4.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
6 tests/cases/conformance/jsx/Error4.tsx(1,22): error TS17002: Expected corresponding JSX closing tag…
7 tests/cases/conformance/jsx/Error4.tsx(2,1): error TS1005: '</' expected.
8 tests/cases/conformance/jsx/Error5.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
9 tests/cases/conformance/jsx/Error5.tsx(1,16): error TS17008: JSX element 'span' has no correspondin…
10 tests/cases/conformance/jsx/Error5.tsx(3,1): error TS1005: '</' expected.
[all …]
DjsxAndTypeAssertion.errors.txt1 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,6): error TS17008: JSX element 'any' has no c…
2 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,13): error TS2582: Cannot find name 'test'. D…
3 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,17): error TS1005: '}' expected.
4 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(6,31): error TS1381: Unexpected token. Did you …
5 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(8,6): error TS17008: JSX element 'any' has no c…
6 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,6): error TS17008: JSX element 'foo' has no …
7 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,24): error TS1381: Unexpected token. Did you…
8 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(10,32): error TS1005: '}' expected.
9 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(12,23): error TS1381: Unexpected token. Did you…
10 tests/cases/conformance/jsx/jsxAndTypeAssertion.tsx(12,24): error TS1382: Unexpected token. Did you…
[all …]
DinlineJsxFactoryWithFragmentIsError.errors.txt1 tests/cases/conformance/jsx/inline/index.tsx(3,1): error TS2304: Cannot find name 'React'.
2 tests/cases/conformance/jsx/inline/index.tsx(3,1): error TS17017: An @jsxFrag pragma is required wh…
3 tests/cases/conformance/jsx/inline/reacty.tsx(3,1): error TS17017: An @jsxFrag pragma is required w…
6 ==== tests/cases/conformance/jsx/inline/renderer.d.ts (0 errors) ====
16 ==== tests/cases/conformance/jsx/inline/reacty.tsx (1 errors) ====
17 /** @jsx React.createElement */
21 !!! error TS17017: An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.
22 ==== tests/cases/conformance/jsx/inline/index.tsx (2 errors) ====
23 /** @jsx dom */
29 !!! error TS17017: An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.
DjsxParsingError3.errors.txt1 tests/cases/conformance/jsx/Error1.tsx(1,15): error TS1381: Unexpected token. Did you mean `{'}'}` …
2 tests/cases/conformance/jsx/Error2.tsx(1,15): error TS1382: Unexpected token. Did you mean `{'>'}` …
3 tests/cases/conformance/jsx/Error3.tsx(1,22): error TS1381: Unexpected token. Did you mean `{'}'}` …
4 tests/cases/conformance/jsx/Error4.tsx(1,22): error TS1382: Unexpected token. Did you mean `{'>'}` …
5 tests/cases/conformance/jsx/Error5.tsx(1,15): error TS1381: Unexpected token. Did you mean `{'}'}` …
6 tests/cases/conformance/jsx/Error6.tsx(1,15): error TS1382: Unexpected token. Did you mean `{'>'}` …
9 ==== tests/cases/conformance/jsx/file.tsx (0 errors) ====
17 ==== tests/cases/conformance/jsx/Error1.tsx (1 errors) ====
22 ==== tests/cases/conformance/jsx/Error2.tsx (1 errors) ====
27 ==== tests/cases/conformance/jsx/Error3.tsx (1 errors) ====
[all …]
DtsxAttributeInvalidNames.errors.txt1 tests/cases/conformance/jsx/file.tsx(10,8): error TS1003: Identifier expected.
2 tests/cases/conformance/jsx/file.tsx(10,10): error TS1005: ';' expected.
3 tests/cases/conformance/jsx/file.tsx(10,10): error TS1351: An identifier or keyword cannot immediat…
4 tests/cases/conformance/jsx/file.tsx(10,10): error TS2304: Cannot find name 'data'.
5 tests/cases/conformance/jsx/file.tsx(10,15): error TS2362: The left-hand side of an arithmetic oper…
6 tests/cases/conformance/jsx/file.tsx(10,18): error TS1005: ':' expected.
7 tests/cases/conformance/jsx/file.tsx(10,21): error TS1109: Expression expected.
8 tests/cases/conformance/jsx/file.tsx(10,22): error TS1109: Expression expected.
9 tests/cases/conformance/jsx/file.tsx(11,1): error TS2362: The left-hand side of an arithmetic opera…
10 tests/cases/conformance/jsx/file.tsx(11,8): error TS1003: Identifier expected.
[all …]
DinlineJsxAndJsxFragPragma.js12 export function jsx(): void;
26 import {jsx} from "./renderer";
40 import {jsx} from "./renderer";
68 import {jsx} from "./renderer";
96 (0, renderer_1.jsx)(null, null,
97 (0, renderer_1.jsx)("span", null));
110 (0, renderer_1.jsx)(null, null);
123 jsx(null, null);
139 (0, renderer_1.jsx)("div", null);
DjsFileCompilationTypeArgumentSyntaxOfCall.errors.txt1 tests/cases/compiler/a.jsx(1,13): error TS1109: Expression expected.
2 tests/cases/compiler/a.jsx(4,1): error TS2657: JSX expressions must have one parent element.
3 tests/cases/compiler/a.jsx(4,5): error TS1003: Identifier expected.
4 tests/cases/compiler/a.jsx(4,13): error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
5 tests/cases/compiler/a.jsx(4,16): error TS17002: Expected corresponding JSX closing tag for 'number…
6 tests/cases/compiler/a.jsx(5,1): error TS2657: JSX expressions must have one parent element.
7 tests/cases/compiler/a.jsx(5,5): error TS1003: Identifier expected.
8 tests/cases/compiler/a.jsx(5,6): error TS17008: JSX element 'number' has no corresponding closing t…
9 tests/cases/compiler/a.jsx(5,14): error TS1382: Unexpected token. Did you mean `{'>'}` or `&gt;`?
10 tests/cases/compiler/a.jsx(6,1): error TS1005: '</' expected.
[all …]
/third_party/typescript/tests/cases/conformance/jsx/inline/
DinlineJsxAndJsxFragPragma.tsx1 // @jsx: react
12 export function jsx(): void;
17 * @jsx h
24 /* @jsx jsx */
26 import {jsx} from "./renderer";
31 * @jsx h
38 /* @jsx jsx */
40 import {jsx} from "./renderer";
43 // @filename: preacty-only-fragment-no-jsx.tsx
45 * @jsx h
[all …]

12345678910>>...45