Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
Milestone
Description
Suggestion
ESLint usesObject.hasOwn() (e.g. inlib/rules/prefer-object-has-own). That's a good sign that we should be able to use it too!
But, our TSConfig lib range is only up to"ES2021" right now. That doesn't allowObject.hasOwn. Which makes me think that we should upgrade ourlib and/ortarget in our TSConfigs to match ESLint's to at least..."ES2022"? Investigation required.
Note: please target this against thev8 branch. Just to be safe, let's treat it as a followup to#8929 ->#8973.
💖