Safety of calling unbound methods
Opened this issue · 2 comments
mightyiam commented
The only way to enforce such safety is to enforce declaration of this
in functions where this
is used.
mightyiam commented
Another option is the [unbound-method](https://typescript-eslint.io/rules/unbound-method)
lint rule. But it doesn't allow having unbound methods, which could be valid, albeit somewhat strange.
rostislav-simonik commented
We have follow-up discussion on discord for no-unsafe-*
check
And that would require also modification in unbound-method
rule to exclude this: <with type>