Skip to content

Commit 730a5d5

Browse files
renovate[bot]Mike Tobia
andauthored
chore(deps): update dependency typescript to v5 (#1554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mike Tobia <[email protected]>
1 parent fdbd3f9 commit 730a5d5

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"stylelint-order": "6.0.3",
125125
"stylelint-processor-styled-components": "1.10.0",
126126
"temp": "0.9.4",
127-
"typescript": "4.9.5",
127+
"typescript": "5.0.4",
128128
"webpack": "5.86.0"
129129
}
130130
}

packages/grid/src/styled/pane/StyledPaneSplitterButton.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,15 @@ const colorStyles = ({ theme }: IStyledSplitterButtonProps & ThemeProps<DefaultT
6969
const sizeStyles = (props: IStyledSplitterButtonProps & ThemeProps<DefaultTheme>) => {
7070
const size = `${props.theme.space.base * 6}px`;
7171
const display =
72-
props.splitterSize <= stripUnit(math(`${props.theme.shadowWidths.md} * 2 + ${size}`)) && 'none';
72+
props.splitterSize <=
73+
(stripUnit(math(`${props.theme.shadowWidths.md} * 2 + ${size}`)) as number) && 'none';
7374
const isVertical = props.orientation === 'start' || props.orientation === 'end';
7475
let top;
7576
let left;
7677
let right;
7778
let bottom;
7879

79-
if (props.splitterSize >= stripUnit(math(`${size} * 3`))) {
80+
if (props.splitterSize >= (stripUnit(math(`${size} * 3`)) as number)) {
8081
if (props.placement === 'start') {
8182
if (isVertical) {
8283
top = size;

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19879,6 +19879,11 @@ [email protected], "typescript@^3 || ^4", typescript@^4.5.4, typescript@^4.9.5:
1987919879
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
1988019880
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
1988119881

19882+
19883+
version "5.0.4"
19884+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
19885+
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==
19886+
1988219887
typescript@^3.9.7:
1988319888
version "3.9.10"
1988419889
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"

0 commit comments

Comments
 (0)