Skip to content

Commit 4bebb7e

Browse files
committed
Use types for React 18 in TS setup
1 parent 35cc33e commit 4bebb7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

types/index.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ declare module 'react-is' {
55
export function isContextConsumer(value: any): value is React.ReactElement
66
export function isValidElementType(value: any): value is React.ElementType
77
}
8+
9+
/* eslint-disable import/no-unresolved */
10+
import {} from 'react/next'
11+
12+
import {} from 'react-dom/next'

0 commit comments

Comments
 (0)