You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(coverage/typescript): Exclude more non-testable units (#12159)
Part of #11582
The filter logic added in the previous PR was not complete, so I fixed it.
Also added more non-testable case.
~~For `parser_typescript.snap`, 2 "Expect Syntax Error" entries are newly reported, but they will be handled in the future task.~~
"7024",// Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
156
160
"7025",// Generator implicitly has yield type 'any'. Consider supplying a return type annotation.
157
161
"7026",// JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
162
+
"7027",// Unreachable code detected.
163
+
"7028",// Unused label.
164
+
"7029",// Fallthrough case in switch.
165
+
"7030",// Not all code paths return a value.
158
166
"7031",// Binding element 'a5' implicitly has an 'any' type.
159
167
"7032",// Property 'message' implicitly has type 'any', because its set accessor lacks a parameter type annotation.
160
168
"7033",// Property 'message' implicitly has type 'any', because its get accessor lacks a return type annotation.
161
169
"7034",// Variable 'x' implicitly has type 'any[]' in some locations where its type cannot be determined.
162
170
"7036",// Dynamic import's specifier must be of type 'string', but here has type 'null'.
163
171
"7039",// Mapped object type implicitly has an 'any' template type.
172
+
"7041",// The containing arrow function captures the global value of 'this'.
164
173
"7052",// Element implicitly has an 'any' type because type '{ get: (key: string) => string; }' has no index signature. Did you mean to call 'c.get'?
165
174
"7053",// Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
166
175
"7055",// 'h', which lacks return-type annotation, implicitly has an 'any' yield type.
0 commit comments