File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -18280,10 +18280,6 @@ namespace ts {
1828018280
1828118281 function checkJsxPreconditions(errorNode: Node) {
1828218282 // Preconditions for using JSX
18283- if ((compilerOptions.jsx || JsxEmit.None) === JsxEmit.None) {
18284- error(errorNode, Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided);
18285- }
18286-
1828718283 if (getJsxElementTypeAt(errorNode) === undefined) {
1828818284 if (noImplicitAny) {
1828918285 error(errorNode, Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);
Original file line number Diff line number Diff line change 41894189 "category" : " Error" ,
41904190 "code" : 17003
41914191 },
4192- "Cannot use JSX unless the '--jsx' flag is provided." : {
4193- "category" : " Error" ,
4194- "code" : 17004
4195- },
41964192 "A constructor cannot contain a 'super' call when its class extends 'null'." : {
41974193 "category" : " Error" ,
41984194 "code" : 17005
You can’t perform that action at this time.
0 commit comments