Skip to content

Commit 1f926a0

Browse files
committed
KTL-2944 chore: update TS to 4.9 version
1 parent fa576d8 commit 1f926a0

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

components/snap-carousel/snap-carousel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ export const SnapCarousel = ({ children }: SnapCarouselProps) => {
2020
React.Children.map(children, (child, index) => {
2121
if (React.isValidElement(child)) {
2222
const isChildFunction = typeof child.type === 'function';
23+
2324
return React.cloneElement(child, {
2425
...(isChildFunction && { isActive: activePageIndex === index }),
26+
// @ts-ignore
2527
className: cn(styles.slide, child.props.className)
2628
});
2729
}

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"sass-loader": "16.0.5",
103103
"start-server-and-test": "1.14.0",
104104
"the-platform": "0.10.1",
105-
"typescript": "4.6.3",
105+
"typescript": "^4.9.5",
106106
"webpack-cli": "5.1.4",
107107
"webpack-dev-server": "^4.3.1",
108108
"yaml-loader": "0.7.0"

0 commit comments

Comments
 (0)