Skip to content

Wrong duplication detection on function overrides? #356

Open
@satanTime

Description

Hi everybody,

I met an interesting case. There are several different function overrides which are detected as a duplication, but I don't see a way how to solve them.

The idea is that the 3rd argument specifies the return generic type, every type is different.

https://codeclimate.com/github/ike18t/ng-mocks/lib/common/func.is-mock-of.ts/source#issue-a3a802d6774fc68bd1f39ab8a2b0cfa2

Might you help me to understand how this could be fixed?

Thank you in advance.

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions