Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v4.6.2 (#83)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency typescript to v4.6.2

* chore: fix build, add changeset

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Roi Koren <roi.koren@deci.ai>
  • Loading branch information
3 people authored Mar 7, 2022
1 parent 168f3c6 commit 42f65c7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-ears-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-plugin-es-roikoren': patch
---

chore(deps): update dependency typescript to v4.6.2
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"nyc": "15.1.0",
"prettier": "2.5.1",
"semver": "7.3.5",
"typescript": "4.5.5"
"typescript": "4.6.2"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-object-hasown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default createRule<[], 'forbidden'>({
},
defaultOptions: [],
create(context) {
return referenceTracker(context, { Object: { hasOwn: { [ASTUtils.ReferenceTracker.READ]: true } } });
return referenceTracker(context, { Object: { hasOwn: { [ASTUtils.ReferenceTracker.READ]: true as const } } });
},
});

0 comments on commit 42f65c7

Please sign in to comment.