Skip to content

refactor: replace catch (error: any) with unknown and add type narrowing - #4212

Merged
1 commit merged into
RatLoopz:mainfrom
kumudasrip:fix/TypeScript-Refactoring
Aug 8, 2026
Merged

refactor: replace catch (error: any) with unknown and add type narrowing#4212
1 commit merged into
RatLoopz:mainfrom
kumudasrip:fix/TypeScript-Refactoring

fix: TypeScript Refactoring

0c64b6f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 7, 2026 in 1m 38s

Quality Gate failed

Annotations

Check failure on line 168 in apps/web/app/[locale]/admin/synonyms/page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=RatLoopz_sahidawa-india&issues=AZ_c-TRY6Oaq1Hsd4tqF&open=AZ_c-TRY6Oaq1Hsd4tqF&pullRequest=4212