Skip to content

Conversation

@Pavel910
Copy link
Contributor

In this PR I fixed type checking of the dependencies array. It's a very simple fix, all I had to do is to trick TS into thinking that the generic T parameter is being used, like this: private readonly __type?: T;. Without this, TS sees the generic as unused, and ignores it completely in the type checks.

I also added tests for types, so in the future cases like these will be caught earlier.

@Pavel910 Pavel910 self-assigned this Nov 26, 2025
@Pavel910 Pavel910 merged commit 5e9d851 into main Nov 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants