Skip to content

Commit

Permalink
fix: align ReactNode types
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Dec 28, 2024
1 parent 4da87fe commit 840a114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vike-react/src/components/Head/Head-server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export { Head }

import { useConfig } from '../../hooks/useConfig/useConfig-server.js'
import type React from 'react'

/**
* Add arbitrary `<head>` tags.
Expand Down
1 change: 1 addition & 0 deletions packages/vike-react/src/types/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { ImportString, PageContextServer, PageContext, PageContextClient }
import type { TagAttributes } from '../utils/getTagAttributesString.js'
import type { Viewport } from '../integration/onRenderHtml.js'
import type { ConfigsCumulative } from '../hooks/useConfig/configsCumulative.js'
import type React from 'react'

// https://vike.dev/meta#typescript
declare global {
Expand Down

0 comments on commit 840a114

Please sign in to comment.