Skip to content

Commit f4fb3a6

Browse files
renovate[bot]renovate-botJoshuaKGoldberg
authored
Update typescript-eslint monorepo to v3 (major) (#589)
* Update typescript-eslint monorepo to v3 * Applied suggestion for DeepPartial Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com>
1 parent e8fc8c2 commit f4fb3a6

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

package-lock.json

Lines changed: 23 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"@types/glob": "7.1.1",
2929
"@types/jest": "25.2.3",
3030
"@types/node": "12.12.21",
31-
"@typescript-eslint/eslint-plugin": "2.34.0",
32-
"@typescript-eslint/parser": "2.34.0",
31+
"@typescript-eslint/eslint-plugin": "3.0.0",
32+
"@typescript-eslint/parser": "3.0.0",
3333
"babel-jest": "26.0.1",
3434
"eslint": "7.1.0",
3535
"husky": "4.2.5",

src/input/findReportedConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Exec } from "../adapters/exec";
22

33
export type DeepPartial<T> = {
4-
[P in keyof T]: T[P] extends {} ? DeepPartial<T[P]> : T[P];
4+
[P in keyof T]?: T[P] extends Record<P, T[P]> ? DeepPartial<T[P]> : T[P];
55
};
66

77
export type FindReportedConfigurationDependencies = {

0 commit comments

Comments
 (0)