Skip to content

Commit

Permalink
Use unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed May 5, 2022
1 parent fed8994 commit 6872e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/decorators.ts
Expand Up @@ -16,7 +16,7 @@ import { IdentityClientCallContext, IntentCallContext, MatrixClientCallContext }
* @category Metrics
*/
export function timedMatrixClientFunctionCall() {
return function (_target: never, functionName: string, descriptor: PropertyDescriptor) {
return function (_target: unknown, functionName: string, descriptor: PropertyDescriptor) {
const originalMethod = descriptor.value;
descriptor.value = async function (...args) {
const context = this.metrics.assignUniqueContextId(<MatrixClientCallContext>{
Expand Down

0 comments on commit 6872e17

Please sign in to comment.