Skip to content

Commit

Permalink
chore: updates TypeScript package to 4.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Aug 19, 2022
1 parent d4f8419 commit 7a4bbb8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"style-loader": "^0.23.1",
"ts-jest": "^26.0.0",
"turbo": "^1.2.6",
"typescript": "^3.9.5",
"typescript": "^4.7.4",
"webpack": "^5.72.0"
},
"workspaces": {
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-alert/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const useAutoClose = (autoClose?: boolean | number, onClose = () => {}) => {
}

React.useEffect(() => {
if (autoClose && onClose) {
if (autoClose) {
startTimer();

return pauseTimer;
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-core/stories/TreeView.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ export const DemoDocumentsMultiple = () => {

OptionalCheckbox.displayName = 'ClayCheckbox';

const MAPPING_ICON = {
const MAPPING_ICON: Record<string, string> = {
article: 'web-content',
documents: 'documents-and-media',
};
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24160,10 +24160,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^3.9.5:
version "3.9.10"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==
typescript@^4.7.4:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==

[email protected]:
version "3.4.10"
Expand Down

0 comments on commit 7a4bbb8

Please sign in to comment.