MM-61893 Replace usage of hasOwnProperty with Object.hasOwn (#29428)

* MM-61893 Replace usage of hasOwnProperty with Object.hasOwn

* Update type guard in messageToElement

* Replace a couple more hasOwnProperty calls
Этот коммит содержится в:
Harrison Healey
2024-12-03 16:53:23 -05:00
коммит произвёл GitHub
родитель 3ed209a34d
Коммит 8533350a91
38 изменённых файлов: 69 добавлений и 69 удалений

Просмотреть файл

@@ -370,7 +370,7 @@
"no-process-env": 2,
"no-process-exit": 2,
"no-proto": 2,
"no-prototype-builtins": 1,
"no-prototype-builtins": 2,
"no-restricted-imports": [
"error",
{