Skip to content

Commit 1bc08b2

Browse files
committed
fix: linter error
1 parent ce4b60b commit 1bc08b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function instrument(span_name?: string) {
1313
const method_name = String(context.name);
1414

1515
function replacement_method(...args: any[]) {
16-
// @ts-ignore
16+
// @ts-ignore `this` cannot be typed properly at all in this kind of usage
1717
const thisClass = this as any
1818
const final_span_name = span_name || `${thisClass.constructor.name}.${method_name}`;
1919

0 commit comments

Comments
 (0)