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
if !is_ambient && OUTSIDE_AMBIENT_INVALID_TAGS_IF_TYPED.contains(&tag_name){
261
260
ctx.diagnostic(check_tag_names_diagnostic(tag.kind.span,&format!("`@{tag_name}` is redundant outside of ambient(`declare` or `.d.ts`) contexts when using a type system.")));
262
261
continue;
263
262
}
264
263
}
265
264
266
265
// If invalid or unknown, report
267
266
let is_valid = (config.jsx_tags && JSX_TAGS.contains(&tag_name))
0 commit comments