Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Wrong duplication detection on function overrides? #356

Description

@satanTime

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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