Skip to content

Commit

Permalink
Update typescript-eslint monorepo to v3 (major) (#589)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed May 23, 2020
1 parent e8fc8c2 commit f4fb3a6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
39 changes: 23 additions & 16 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,8 +28,8 @@
"@types/glob": "7.1.1",
"@types/jest": "25.2.3",
"@types/node": "12.12.21",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"@typescript-eslint/eslint-plugin": "3.0.0",
"@typescript-eslint/parser": "3.0.0",
"babel-jest": "26.0.1",
"eslint": "7.1.0",
"husky": "4.2.5",
Expand Down
2 changes: 1 addition & 1 deletion src/input/findReportedConfiguration.ts
@@ -1,7 +1,7 @@
import { Exec } from "../adapters/exec";

export type DeepPartial<T> = {
[P in keyof T]: T[P] extends {} ? DeepPartial<T[P]> : T[P];
[P in keyof T]?: T[P] extends Record<P, T[P]> ? DeepPartial<T[P]> : T[P];
};

export type FindReportedConfigurationDependencies = {
Expand Down

0 comments on commit f4fb3a6

Please sign in to comment.