Repo: Raise TSConfig lib/target support range to match ESLint's #9028
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Milestone
Suggestion
ESLint uses
Object.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 the
v8
branch. Just to be safe, let's treat it as a followup to #8929 -> #8973.💖
The text was updated successfully, but these errors were encountered: