Unverified Commit 88747a26 authored by Dawson Booth's avatar Dawson Booth Committed by GitHub

Add JSX.Element to styles type in DocumentInitialProps (#36392)

* Change styles element fragment to array

* update type
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent f46bd5f8
......@@ -185,7 +185,7 @@ export type DocumentContext = NextPageContext & {
}
export type DocumentInitialProps = RenderPageResult & {
styles?: React.ReactElement[] | React.ReactFragment
styles?: React.ReactElement[] | React.ReactFragment | JSX.Element
}
export type DocumentProps = DocumentInitialProps & HtmlProps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment