Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I found this issue #1667 that had the same errors as me, but the comments didn't help. I also found a different issue nestjs/nest#10959, and the fix they used nestjs/nest#10970, and used that to fix the problem with the InjectMetric decorator. The problem is that the decorator types are wrong. Record<string, unknown> fails with strict checks, and the key may also be undefined. Fixes #1667
- Loading branch information