Michael Telatynski 77670eb369
Add lint rule to protect against this access on unbound methods (#32578)
* Add Actions to ViewModel utility types and specify `this: void` signature

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add https://typescript-eslint.io/rules/unbound-method/ linter to shared-components

also fix stray lint config which doesn't apply to SC

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add https://typescript-eslint.io/rules/unbound-method/ linter to element-web

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix genuine issues identified by the linter

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Specify this:void on i18napi

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update Module API

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add comment for MapToVoidThis

Added utility type to map VM actions to unbound functions.

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-23 15:37:58 +00:00
..
2023-11-21 21:07:33 +00:00
2022-12-09 13:28:29 +01:00
2022-12-09 13:28:29 +01:00
2022-12-12 12:24:14 +01:00
2021-03-11 09:19:59 -07:00
2025-09-25 09:27:40 +00:00
2021-08-23 17:14:49 +01:00
2022-12-12 12:24:14 +01:00
2026-01-16 16:06:24 +00:00
2022-12-12 12:24:14 +01:00
2022-12-12 12:24:14 +01:00