Skip to content

Commit

Permalink
build(deps): Update dependency typescript to ~4.8.2 (#3770)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Sep 2, 2022
1 parent 77d4543 commit dfaa21b
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 41 deletions.
14 changes: 7 additions & 7 deletions examples/js-with-babel/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 examples/js-with-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"babel-jest": "^28.1.3",
"jest": "^28.1.3",
"ts-jest": "^28.0.8",
"typescript": "~4.7.4"
"typescript": "~4.8.2"
}
}
14 changes: 7 additions & 7 deletions examples/js-with-ts/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 examples/js-with-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"devDependencies": {
"jest": "^28.1.3",
"ts-jest": "^28.0.8",
"typescript": "~4.7.4"
"typescript": "~4.8.2"
}
}
14 changes: 7 additions & 7 deletions examples/ts-only/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 examples/ts-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"devDependencies": {
"jest": "^28.1.3",
"ts-jest": "^28.0.8",
"typescript": "~4.7.4"
"typescript": "~4.8.2"
}
}
14 changes: 7 additions & 7 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 @@ -135,7 +135,7 @@
"lodash.set": "^4.3.2",
"node-fetch": "^3.2.10",
"prettier": "^2.7.1",
"typescript": "~4.7.4"
"typescript": "~4.8.2"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
Expand Down
5 changes: 4 additions & 1 deletion src/__helpers__/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import { rootLogger } from '../utils'

export const logTargetMock = (): testing.LogTargetMock => (rootLogger as testing.LoggerMock).target

export const mockObject = <T, M>(obj: T, newProps: M): T & M & { mockRestore: () => T } => {
export const mockObject = <T, M extends Record<string, unknown>>(
obj: T,
newProps: M,
): T & M & { mockRestore: () => T } => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const backup: Record<string, any> = Object.create(null)

Expand Down
14 changes: 7 additions & 7 deletions website/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 website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@docusaurus/module-type-aliases": "^2.0.1",
"@tsconfig/docusaurus": "^1.0.6",
"@types/react": "^16.14.24",
"typescript": "~4.7.4"
"typescript": "~4.8.2"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit dfaa21b

Please sign in to comment.