1 parent ce4b60b commit 1bc08b2Copy full SHA for 1bc08b2
1 file changed
src/telemetry.ts
@@ -13,7 +13,7 @@ export function instrument(span_name?: string) {
13
const method_name = String(context.name);
14
15
function replacement_method(...args: any[]) {
16
- // @ts-ignore
+ // @ts-ignore `this` cannot be typed properly at all in this kind of usage
17
const thisClass = this as any
18
const final_span_name = span_name || `${thisClass.constructor.name}.${method_name}`;
19
0 commit comments