408 }
409
410▶ /// Check if any recorded errors have Todo category.
411 /// In TS, Todo errors throw immediately via CompilerError.throwTodo().
412 pub fn has_todo_errors(&self) -> bool {
· · ·
411▶ /// In TS, Todo errors throw immediately via CompilerError.throwTodo().
412 pub fn has_todo_errors(&self) -> bool {
413 self.errors.details.iter().any(|d| match d {
· · ·
412▶ pub fn has_todo_errors(&self) -> bool {
413 self.errors.details.iter().any(|d| match d {
414 react_compiler_diagnostics::CompilerErrorOrDiagnostic::Diagnostic(d) => {
· · ·
415▶ d.category == react_compiler_diagnostics::ErrorCategory::Todo
416 }
417 react_compiler_diagnostics::CompilerErrorOrDiagnostic::ErrorDetail(d) => {
· · ·
418▶ d.category == react_compiler_diagnostics::ErrorCategory::Todo
419 }
420 })
+ 3 more matches in this file