tseijp/parsed-path

Fix 4 Maintainability issues in multiple files

Closed this issue · 0 comments

CodeFactor found multiple issues:

These overloads can be combined into one signature taking PathSet | [ParsedPath, ...any[]].

This overload and the one on line 26 can be combined into one signature taking Rule | TemplateStringsArray.

This overload and the one on line 24 can be combined into one signature taking URL | TemplateStringsArray.

This overload and the one on line 24 can be combined into one signature taking URL | Rule.