File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ Unreleased]
9+
10+ - fix type for ReactNode children
11+
812## [ 0.2.4] - 2023-11-03
913
1014- fix crypto is undefined bug
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const apiKey = process.env.NEXT_PUBLIC_BASELIME_KEY;
1414export default function RootLayout ( {
1515 children,
1616} : {
17- children : any
17+ children : React . ReactNode
1818} ) {
1919 return (
2020 < html lang = "en" >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export interface BaselimeRumProps {
2525 pageLoadId ?: string ,
2626 enableLocal ?: boolean ,
2727 enableWebVitals ?: boolean
28- children : ReactElement < any , string | JSXElementConstructor < any > >
28+ children : React . ReactNode
2929}
3030export function BaselimeRum ( props : BaselimeRumProps ) {
3131
You can’t perform that action at this time.
0 commit comments