Skip to content

Commit

Permalink
Bump typescript from 5.0.4 to 5.1.3 (#13349)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Birchler <[email protected]>
  • Loading branch information
dependabot[bot] and swissspidy authored Jun 15, 2023
1 parent 66177a8 commit 43200bb
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 8 deletions.
10 changes: 5 additions & 5 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 @@ -177,7 +177,7 @@
"stylelint-prettier": "^3.0.0",
"stylis-plugin-rtl": "^1.0.0",
"terser-webpack-plugin": "^5.3.7",
"typescript": "^5.0.4",
"typescript": "^5.1.3",
"webpack": "^5.84.1",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/animation/src/components/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ function Provider({
// Note that we could use `getComputedTiming` above instead, but the typings
// in @types/web-animations-js aren't completely correct for that return.
const actualDuration = typeof duration === 'string' ? 0 : duration;
const animationEndTime = delay + actualDuration;
// TODO: Address case where duration can be of type CSSNumericValue.

const animationEndTime = delay + (actualDuration as number);
animation.currentTime =
time === 'end'
? animationEndTime
Expand Down
1 change: 1 addition & 0 deletions packages/date/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"declarationDir": "dist-types"
},
"references": [{ "path": "../i18n" }],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/media/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
{ "path": "../tracking" },
{ "path": "../units" }
],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/moveable/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"declarationDir": "dist-types"
},
"references": [{ "path": "../react" }],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/patterns/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"declarationDir": "dist-types"
},
"references": [{ "path": "../i18n" }],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/rich-text/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"declarationDir": "dist-types"
},
"references": [{ "path": "../patterns" }],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/story-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{ "path": "../templates" },
{ "path": "../tracking" }
],
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": [
"src/**/test/**/*.ts",
"src/**/test/**/*.tsx",
Expand Down
1 change: 1 addition & 0 deletions packages/tracking/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"rootDir": "src",
"declarationDir": "dist-types"
},
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions packages/url/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"rootDir": "src",
"declarationDir": "dist-types"
},
"files": ["../../node_modules/jest-extended/types/index.d.ts"],
"include": ["src/**/*"]
}
2 changes: 1 addition & 1 deletion tsconfig.shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"pretty": true,
"sourceMap": true,
"typeRoots": ["./typings", "./node_modules/@types"],
"types": ["jest", "jest-extended", "node"]
"types": ["jest", "node"]
},
"exclude": [
"packages/*/dist-*/**",
Expand Down

0 comments on commit 43200bb

Please sign in to comment.