safe-client-gateway
safe-client-gateway copied to clipboard
Fix @typescript-eslint/no-redundant-type-constituents instances
Summary
While upgrading to ESLint 9, certain rules were temporarily ignored due to changes in their recommendations. One such rule was the @typescript-eslint/no-redundant-type-constituents
rule.
This PR addresses instances where redundant type constituents were used, specifically string | unknown
which is effectively the same as unknown
.
Changes
- Enable
@typescript-eslint/no-redundant-type-constituents
ESLint rule - Replace
string | unknown
withunknown
.
Pull Request Test Coverage Report for Build 9034159109
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- 1 unchanged line in 1 file lost coverage.
- Overall coverage increased (+0.03%) to 93.025%
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
src/routes/transactions/entities/tests/human-description.builder.ts | 1 | 90.0% |
<!-- | Total: | 1 |
Totals | |
---|---|
Change from base Build 9023794730: | 0.03% |
Covered Lines: | 6985 |
Relevant Lines: | 7235 |