Home
last modified time | relevance | path

Searched refs:jsx (Results 1 – 25 of 1102) 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 …]
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 …]
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.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`.
DjsxInvalidEsprimaTestSuite.symbols1 === tests/cases/conformance/jsx/1.tsx ===
6 === tests/cases/conformance/jsx/2.tsx ===
8 No type information for this code.=== tests/cases/conformance/jsx/3.tsx ===
10 No type information for this code.=== tests/cases/conformance/jsx/4.tsx ===
15 === tests/cases/conformance/jsx/5.tsx ===
17 No type information for this code.=== tests/cases/conformance/jsx/6.tsx ===
19 No type information for this code.=== tests/cases/conformance/jsx/7.tsx ===
23 === tests/cases/conformance/jsx/8.tsx ===
25 No type information for this code.=== tests/cases/conformance/jsx/9.tsx ===
27 No type information for this code.=== tests/cases/conformance/jsx/10.tsx ===
[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 …]
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 …]
DjsxCheckJsxNoTypeArgumentsAllowed.errors.txt1 tests/cases/conformance/jsx/file.jsx(4,9): error TS2657: JSX expressions must have one parent eleme…
2 tests/cases/conformance/jsx/file.jsx(4,16): error TS1003: Identifier expected.
3 tests/cases/conformance/jsx/file.jsx(4,17): error TS2693: 'Prop' only refers to a type, but is bein…
4 tests/cases/conformance/jsx/file.jsx(4,17): error TS17008: JSX element 'Prop' has no corresponding …
5 tests/cases/conformance/jsx/file.jsx(4,38): error TS1382: Unexpected token. Did you mean `{'>'}` or…
6 tests/cases/conformance/jsx/file.jsx(5,1): error TS1005: '</' expected.
9 ==== tests/cases/conformance/jsx/component.d.ts (0 errors) ====
20 ==== tests/cases/conformance/jsx/file.jsx (6 errors) ====
DjsxParsingError2.errors.txt1 tests/cases/conformance/jsx/Error1.tsx(2,11): error TS17008: JSX element 'div' has no corresponding…
2 tests/cases/conformance/jsx/Error1.tsx(2,21): error TS17002: Expected corresponding JSX closing tag…
3 tests/cases/conformance/jsx/Error1.tsx(3,1): error TS1005: '</' expected.
4 tests/cases/conformance/jsx/Error2.tsx(1,15): error TS17002: Expected corresponding JSX closing tag…
5 tests/cases/conformance/jsx/Error3.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
6 tests/cases/conformance/jsx/Error3.tsx(3,1): error TS1005: '</' expected.
7 tests/cases/conformance/jsx/Error4.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
8 tests/cases/conformance/jsx/Error4.tsx(1,20): error TS17002: Expected corresponding JSX closing tag…
9 tests/cases/conformance/jsx/Error4.tsx(2,1): error TS1005: '</' expected.
10 tests/cases/conformance/jsx/Error5.tsx(1,11): error TS17008: JSX element 'div' has no corresponding…
[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.
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))
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
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 …]
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 …]
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,14): 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 …]
DjsxSpreadOverwritesAttributeStrict.errors.txt3 tests/cases/conformance/jsx/file.tsx(19,17): error TS2783: 'a' is specified more than once, so this…
4 tests/cases/conformance/jsx/file.tsx(20,17): error TS2783: 'a' is specified more than once, so this…
5 tests/cases/conformance/jsx/file.tsx(20,23): error TS2783: 'b' is specified more than once, so this…
6 tests/cases/conformance/jsx/file.tsx(21,17): error TS2783: 'a' is specified more than once, so this…
7 tests/cases/conformance/jsx/file.tsx(21,23): error TS2783: 'd' is specified more than once, so this…
8 tests/cases/conformance/jsx/file.tsx(22,17): error TS2783: 'a' is specified more than once, so this…
9 tests/cases/conformance/jsx/file.tsx(22,17): error TS2783: 'a' is specified more than once, so this…
10 tests/cases/conformance/jsx/file.tsx(22,23): error TS2783: 'd' is specified more than once, so this…
15 ==== tests/cases/conformance/jsx/file.tsx (8 errors) ====
37 !!! related TS2785 tests/cases/conformance/jsx/file.tsx:19:23: This spread always overwrites this p…
[all …]
DinlineJsxAndJsxFragPragmaOverridesCompilerOptions.types1 === tests/cases/conformance/jsx/inline/react.d.ts ===
18 === tests/cases/conformance/jsx/inline/preact.d.ts ===
25 === tests/cases/conformance/jsx/inline/snabbdom.d.ts ===
29 === tests/cases/conformance/jsx/inline/reacty.tsx ===
40 === tests/cases/conformance/jsx/inline/preacty.tsx ===
42 * @jsx h
55 === tests/cases/conformance/jsx/inline/snabbdomy.tsx ===
57 * @jsx h
69 === tests/cases/conformance/jsx/inline/mix-n-match.tsx ===
70 /* @jsx h */
DinlineJsxFactoryLocalTypeGlobalFallback.errors.txt1jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'JSX.Element'…
4 ==== tests/cases/conformance/jsx/inline/renderer.d.ts (0 errors) ====
20 ==== tests/cases/conformance/jsx/inline/renderer2.d.ts (0 errors) ====
36 ==== tests/cases/conformance/jsx/inline/component.tsx (0 errors) ====
37 /** @jsx predom */
41 ==== tests/cases/conformance/jsx/inline/index.tsx (1 errors) ====
42 /** @jsx dom */
48 …n type 'JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer2").…
49 !!! related TS2728 tests/cases/conformance/jsx/inline/renderer2.d.ts:7:13: '__predomBrand' is decla…
DinlineJsxFactoryDeclarations.types1 === tests/cases/conformance/jsx/inline/renderer.d.ts ===
25 === tests/cases/conformance/jsx/inline/otherreacty.tsx ===
26 /** @jsx React.createElement */
35 === tests/cases/conformance/jsx/inline/other.tsx ===
36 /** @jsx h */
47 === tests/cases/conformance/jsx/inline/othernoalias.tsx ===
48 /** @jsx otherdom */
58 === tests/cases/conformance/jsx/inline/reacty.tsx ===
68 === tests/cases/conformance/jsx/inline/index.tsx ===
69 /** @jsx dom */
DjsDeclarationsNonIdentifierInferredNames.symbols1 === tests/cases/conformance/jsdoc/declarations/jsDeclarationsNonIdentifierInferredNames.jsx ===
4 >React : Symbol(React, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 1, 6))
7 >dynPropName : Symbol(dynPropName, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 2, 5))
10 …ent : Symbol(ExampleFunctionalComponent, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 12))
11 >dataTestId : Symbol(dataTestId, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 44))
12 >dynPropName : Symbol(dynPropName, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 2, 5))
13 >dynProp : Symbol(dynProp, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 71))
/third_party/typescript_eslint/packages/eslint-plugin/tests/eslint-rules/
Dno-undef.test.ts150 jsx: true,
162 jsx: true,
174 jsx: true,
186 jsx: true,
198 jsx: true,
209 jsx: true,
219 jsx: true,
266 jsx: true,
287 jsx: true,
308 jsx: true,
[all …]

12345678910>>...45