Skip to content

Commit b383fb0

Browse files
authored
Merge pull request #3382 from memark/prepare-react-19
Prepare for React 19
2 parents fe63636 + bdba378 commit b383fb0

21 files changed

+23
-19
lines changed

packages/react-google-maps-api-gatsby-example/src/examples/example-directions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
} from '@react-google-maps/api'
77
import * as PropTypes from 'prop-types'
88
import {
9+
type JSX,
910
memo,
1011
useCallback,
1112
useMemo,

packages/react-google-maps-api-gatsby-example/src/examples/example-drawing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, DrawingManager } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-ground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, GroundOverlay } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-heatmap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo, useMemo } from 'react'
2+
import { type CSSProperties, type JSX, memo, useMemo } from 'react'
33
import PropTypes from 'prop-types'
44
import {
55
GoogleMap,

packages/react-google-maps-api-gatsby-example/src/examples/example-options.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-overlay-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo, useCallback, useState } from 'react'
2+
import { type CSSProperties, type JSX, memo, useCallback, useState } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, OverlayViewF, MarkerF, OVERLAY_MOUSE_TARGET, MARKER_LAYER, } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-search-box.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, StandaloneSearchBox } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-shapes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo, useCallback, useMemo, useState, ChangeEventHandler } from 'react'
2+
import { type CSSProperties, type JSX, memo, useCallback, useMemo, useState, ChangeEventHandler } from 'react'
33
import PropTypes from 'prop-types'
44
import {
55
GoogleMap,

packages/react-google-maps-api-gatsby-example/src/examples/example-traffic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, TrafficLayer } from '@react-google-maps/api'
55

packages/react-google-maps-api-gatsby-example/src/examples/example-transit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// eslint-disable-next-line node/no-extraneous-import
2-
import { type CSSProperties, memo } from 'react'
2+
import { type CSSProperties, type JSX, memo } from 'react'
33
import PropTypes from 'prop-types'
44
import { GoogleMap, TransitLayer } from '@react-google-maps/api'
55

0 commit comments

Comments
 (0)