vue-clipboard3 icon indicating copy to clipboard operation
vue-clipboard3 copied to clipboard

Avoid referencing unbound methods which may cause unintentional scoping of `this`.

Open richex-cn opened this issue 1 year ago • 0 comments

https://typescript-eslint.io/rules/unbound-method/

Snipaste_2023-09-26_14-49-12

Avoid referencing unbound methods which may cause unintentional scoping of this. If your function does not access this, you can annotate it with this: void, or consider using an arrow function instead.eslint@typescript-eslint/unbound-method

richex-cn avatar Sep 26 '23 06:09 richex-cn