'I want to use the Google Maps API with my Angular 13 project, so I used these two commands to install npm install --save @types/google.maps

node_modules/@types/google.maps/index.d.ts:5450:5 5450 pano?: string|null; ~~~~ 'pano' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:36:9 - error TS2717: Subsequent property declarations must have the same type. Property 'description' must be of type 'string | null | undefined', but here has type 'string | undefined'.

36 description?: string; ~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5395:5 5395 description?: string|null;
~~~~~~~~~~~ 'description' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:37:9 - error TS2717: Subsequent property declarations must have the same type. Property 'latLng' must be of type 'LatLng | null | undefined', but here has type 'LatLng | undefined'.

37 latLng?: LatLng; ~~~~~~

node_modules/@types/google.maps/index.d.ts:5399:5 5399 latLng?: google.maps.LatLng|null; ~~~~~~ 'latLng' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:38:9 - error TS2687: All declarations of 'pano' must have identical modifiers.

38 pano?: string; ~~~~

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:38:9 - error TS2717: Subsequent property declarations must have the same type. Property 'pano' must be of type 'string', but here has type 'string | undefined'.

38 pano?: string; ~~~~

node_modules/@types/google.maps/index.d.ts:5404:5 5404 pano: string; ~~~~ 'pano' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:39:9 - error TS2717: Subsequent property declarations must have the same type. Property 'shortDescription' must be of type 'string | null | undefined', but here has type 'string | undefined'.

39 shortDescription?: string;
~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5408:5 5408 shortDescription?: string|null; ~~~~~~~~~~~~~~~~ 'shortDescription' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:57:9 - error TS2687: All declarations of 'tiles' must have identical modifiers.

57 tiles?: StreetViewTileData;
~~~~~

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:57:9 - error TS2717: Subsequent property declarations must have the same type. Property 'tiles' must be of type 'StreetViewTileData', but here has type 'StreetViewTileData | undefined'.

57 tiles?: StreetViewTileData;
~~~~~

node_modules/@types/google.maps/index.d.ts:5602:5 5602 tiles: google.maps.StreetViewTileData; ~~~~~ 'tiles' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:61:9 - error TS2687: All declarations of 'description' must have identical modifiers.

61 description?: string; ~~~~~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:61:9 - error TS2717: Subsequent property declarations must have the same type. Property 'description' must be of type 'string | null', but here has type 'string | undefined'.

61 description?: string; ~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5375:5 5375 description: string|null;
~~~~~~~~~~~ 'description' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:62:9 - error TS2687: All declarations of 'heading' must have identical modifiers.

62 heading?: number; ~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:62:9 - error TS2717: Subsequent property declarations must have the same type. Property 'heading' must be of type 'number | null', but here has type 'number | undefined'.

62 heading?: number; ~~~~~~~

node_modules/@types/google.maps/index.d.ts:5379:5 5379 heading: number|null; ~~~~~~~ 'heading' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:63:9 - error TS2687: All declarations of 'pano' must have identical modifiers.

63 pano?: string; ~~~~

Error: node_modules/@types/googlemaps/reference/street-view-service.d.ts:63:9 - error TS2717: Subsequent property declarations must have the same type. Property 'pano' must be of type 'string | null', but here has type 'string | undefined'.

63 pano?: string; ~~~~

node_modules/@types/google.maps/index.d.ts:5384:5 5384 pano: string|null; ~~~~ 'pano' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:2:11 - error TS2300: Duplicate identifier 'StreetViewPanorama'.

2 class StreetViewPanorama extends MVCObject { ~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5460:9 5460 class StreetViewPanorama extends google.maps.MVCObject { ~~~~~~~~~~~~~~~~~~
'StreetViewPanorama' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:27:9 - error TS2717: Subsequent property declarations must have the same type. Property 'addressControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

27 addressControl?: boolean;
~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5614:5 5614 addressControl?: boolean|null; ~~~~~~~~~~~~~~ 'addressControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:28:9 - error TS2717: Subsequent property declarations must have the same type. Property 'addressControlOptions' must be of type 'StreetViewAddressControlOptions | null | undefined', but here has type 'StreetViewAddressControlOptions | undefined'.

28 addressControlOptions?: StreetViewAddressControlOptions; ~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5618:5 5618 addressControlOptions?: google.maps.StreetViewAddressControlOptions|null; ~~~~~~~~~~~~~~~~~~~~~ 'addressControlOptions' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:29:9 - error TS2717: Subsequent property declarations must have the same type. Property 'clickToGo' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

29 clickToGo?: boolean; ~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5622:5 5622 clickToGo?: boolean|null;
~~~~~~~~~ 'clickToGo' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:30:9 - error TS2717: Subsequent property declarations must have the same type. Property 'disableDefaultUI' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

30 disableDefaultUI?: boolean;
~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5634:5 5634 disableDefaultUI?: boolean|null; ~~~~~~~~~~~~~~~~ 'disableDefaultUI' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:31:9 - error TS2717: Subsequent property declarations must have the same type. Property 'disableDoubleClickZoom' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

31 disableDoubleClickZoom?: boolean; ~~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5638:5 5638 disableDoubleClickZoom?: boolean|null; ~~~~~~~~~~~~~~~~~~~~~~
'disableDoubleClickZoom' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:32:9 - error TS2717: Subsequent property declarations must have the same type. Property 'enableCloseButton' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

32 enableCloseButton?: boolean;
~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5642:5 5642 enableCloseButton?: boolean|null; ~~~~~~~~~~~~~~~~~ 'enableCloseButton' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:33:9 - error TS2717: Subsequent property declarations must have the same type. Property 'fullscreenControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

33 fullscreenControl?: boolean;
~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5646:5 5646 fullscreenControl?: boolean|null; ~~~~~~~~~~~~~~~~~ 'fullscreenControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:34:9 - error TS2717: Subsequent property declarations must have the same type. Property 'fullscreenControlOptions' must be of type 'FullscreenControlOptions | null | undefined', but here has type 'FullscreenControlOptions | undefined'.

34 fullscreenControlOptions?: FullscreenControlOptions; ~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5650:5 5650 fullscreenControlOptions?: google.maps.FullscreenControlOptions|null;
~~~~~~~~~~~~~~~~~~~~~~~~
'fullscreenControlOptions' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:35:9 - error TS2717: Subsequent property declarations must have the same type. Property 'imageDateControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

35 imageDateControl?: boolean;
~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5655:5 5655 imageDateControl?: boolean|null; ~~~~~~~~~~~~~~~~ 'imageDateControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:36:9 - error TS2717: Subsequent property declarations must have the same type. Property 'linksControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

36 linksControl?: boolean; ~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5659:5 5659 linksControl?: boolean|null;
~~~~~~~~~~~~ 'linksControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:37:9 - error TS2717: Subsequent property declarations must have the same type. Property 'motionTracking' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

37 motionTracking?: boolean;
~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5669:5 5669 motionTracking?: boolean|null; ~~~~~~~~~~~~~~ 'motionTracking' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:38:9 - error TS2717: Subsequent property declarations must have the same type. Property 'motionTrackingControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

38 motionTrackingControl?: boolean; ~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5675:5 5675 motionTrackingControl?: boolean|null; ~~~~~~~~~~~~~~~~~~~~~ 'motionTrackingControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:39:9 - error TS2717: Subsequent property declarations must have the same type. Property 'motionTrackingControlOptions' must be of type 'MotionTrackingControlOptions | null | undefined', but here has type 'MotionTrackingControlOptions | undefined'.

39 motionTrackingControlOptions?: MotionTrackingControlOptions; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5679:5 5679 motionTrackingControlOptions?: google.maps.MotionTrackingControlOptions| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'motionTrackingControlOptions' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:41:9 - error TS2717: Subsequent property declarations must have the same type. Property 'panControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

41 panControl?: boolean; ~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5684:5 5684 panControl?: boolean|null;
~~~~~~~~~~ 'panControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:42:9 - error TS2717: Subsequent property declarations must have the same type. Property 'panControlOptions' must be of type 'PanControlOptions | null | undefined', but here has type 'PanControlOptions | undefined'.

42 panControlOptions?: PanControlOptions; ~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5688:5 5688 panControlOptions?: google.maps.PanControlOptions|null; ~~~~~~~~~~~~~~~~~ 'panControlOptions' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:43:9 - error0m TS2717: Subsequent property declarations must have the same type. Property 'pano' must be of type 'string | null | undefined', but here has type 'string | undefined'.

43 pano?: string; ~~~~

node_modules/@types/google.maps/index.d.ts:5692:5 5692 pano?: string|null; ~~~~ 'pano' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:45:9 - error TS2717: Subsequent property declarations must have the same type. Property 'position' must be of type 'LatLngLiteral | LatLng | null | undefined', but here has type 'LatLngLiteral | LatLng | undefined'.

45 position?: LatLng | LatLngLiteral; ~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5696:5 5696 position?: google.maps.LatLng|null|google.maps.LatLngLiteral; ~~~~~~~~ 'position' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:46:9 - error TS2717: Subsequent property declarations must have the same type. Property 'pov' must be of type 'StreetViewPov | null | undefined', but here has type 'StreetViewPov | undefined'.

46 pov?: StreetViewPov; ~~~

node_modules/@types/google.maps/index.d.ts:5700:5 5700 pov?: google.maps.StreetViewPov|null; ~~~ 'pov' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:47:9 - error TS2717: Subsequent property declarations must have the same type. Property 'scrollwheel' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

47 scrollwheel?: boolean; ~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5705:5 5705 scrollwheel?: boolean|null;
~~~~~~~~~~~ 'scrollwheel' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:48:9 - error TS2717: Subsequent property declarations must have the same type. Property 'showRoadLabels' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

48 showRoadLabels?: boolean;
~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5712:5 5712 showRoadLabels?: boolean|null; ~~~~~~~~~~~~~~ 'showRoadLabels' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:49:9 - error TS2717: Subsequent property declarations must have the same type. Property 'visible' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

49 visible?: boolean; ~~~~~~~

node_modules/@types/google.maps/index.d.ts:5716:5 5716 visible?: boolean|null;
~~~~~~~ 'visible' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:50:9 - error TS2717: Subsequent property declarations must have the same type. Property 'zoom' must be of type 'number | null | undefined', but here has type 'number | undefined'.

50 zoom?: number; ~~~~

node_modules/@types/google.maps/index.d.ts:5721:5 5721 zoom?: number|null; ~~~~ 'zoom' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:51:9 - error TS2717: Subsequent property declarations must have the same type. Property 'zoomControl' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

51 zoomControl?: boolean; ~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5725:5 5725 zoomControl?: boolean|null;
~~~~~~~~~~~ 'zoomControl' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:52:9 - error TS2717: Subsequent property declarations must have the same type. Property 'zoomControlOptions' must be of type 'ZoomControlOptions | null | undefined', but here has type 'ZoomControlOptions | undefined'.

52 zoomControlOptions?: ZoomControlOptions; ~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5729:5 5729 zoomControlOptions?: google.maps.ZoomControlOptions|null; ~~~~~~~~~~~~~~~~~~ 'zoomControlOptions' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:56:9 - error TS2717: Subsequent property declarations must have the same type. Property 'position' must be of type 'ControlPosition | null | undefined', but here has type 'ControlPosition | undefined'.

56 position?: ControlPosition;
~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5332:5 5332 position?: google.maps.ControlPosition|null; ~~~~~~~~ 'position' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:69:9 - error TS2687: All declarations of 'centerHeading' must have identical modifiers.

69 centerHeading?: number; ~~~~~~~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:69:9 - error TS2717: Subsequent property declarations must have the same type. Property 'centerHeading' must be of type 'number', but here has type 'number | undefined'.

69 centerHeading?: number; ~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5859:5 5859 centerHeading: number;
~~~~~~~~~~~~~ 'centerHeading' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:70:9 - error TS2687: All declarations of 'tileSize' must have identical modifiers.

70 tileSize?: Size; ~~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:70:9 - error TS2717: Subsequent property declarations must have the same type. Property 'tileSize' must be of type 'Size', but here has type 'Size | undefined'.

70 tileSize?: Size; ~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5875:5 5875 tileSize: google.maps.Size;
~~~~~~~~ 'tileSize' was also declared here.

Error: [39mnode_modules/@types/googlemaps/reference/street-view.d.ts:71:9 - error TS2687: All declarations of 'worldSize' must have identical modifiers.

71 worldSize?: Size; ~~~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:71:9 - error TS2717: Subsequent property declarations must have the same type. Property 'worldSize' must be of type 'Size', but here has type 'Size | undefined'.

71 worldSize?: Size; ~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5879:5 5879 worldSize: google.maps.Size;
~~~~~~~~~ 'worldSize' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:75:9 - error TS2687: All declarations of 'heading' must have identical modifiers.

75 heading?: number; ~~~~~~~

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:75:9 - error TS2717: Subsequent property declarations must have the same type. Property 'heading' must be of type 'number', but here has type 'number | undefined'.

75 heading?: number; ~~~~~~~

node_modules/@types/google.maps/index.d.ts:5743:5 5743 heading: number; ~~~~~~~ 'heading' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:76:9 - error TS2687: All declarations of 'pitch' must have identical modifiers.

76 pitch?: number; ~~~~~

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:76:9 - error TS2717: Subsequent property declarations must have the same type. Property 'pitch' must be of type 'number', but here has type 'number | undefined'.

76 pitch?: number; ~~~~~

node_modules/@types/google.maps/index.d.ts:5748:5 5748 pitch: number; ~~~~~ 'pitch' was also declared here.

Error: node_modules/@types/googlemaps/reference/street-view.d.ts:79:11 - error TS2300: Duplicate identifier 'StreetViewCoverageLayer'.

79 class StreetViewCoverageLayer extends MVCObject { ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:5355:9 5355 class StreetViewCoverageLayer extends google.maps.MVCObject { ~~~~~~~~~~~~~~~~~~~~~~~
'StreetViewCoverageLayer' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:2:11 - error TS2300: Duplicate identifier 'HeatmapLayer'.

2 class HeatmapLayer extends MVCObject { ~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:8846:9 8846 class HeatmapLayer extends google.maps.MVCObject { ~~~~~~~~~~~~ 'HeatmapLayer' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:12:9 - error TS2687: All declarations of 'data' must have identical modifiers.

12 data: MVCArray<LatLng | WeightedLocation> | Array<LatLng | WeightedLocation>; ~~~~

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:12:9 - error TS2717: Subsequent property declarations must have the same type. Property 'data' must be of type 'MVCArray | (LatLng | WeightedLocation)[] | null | undefined', but here has type '(LatLng | WeightedLocation)[] | MVCArray<LatLng | WeightedLocation>'.

12 data: MVCArray<LatLng | WeightedLocation> | Array<LatLng | WeightedLocation>; ~~~~

node_modules/@types/google.maps/index.d.ts:8881:5 8881 data?: google.maps.MVCArray|null| ~~~~ 'data' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:13:9 - error TS2717: Subsequent property declarations must have the same type. Property 'dissipating' must be of type 'boolean | null | undefined', but here has type 'boolean | undefined'.

13 dissipating?: boolean; ~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:8889:5 8889 dissipating?: boolean|null;
~~~~~~~~~~~ 'dissipating' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:14:9 - error TS2717: Subsequent property declarations must have the same type. Property 'gradient' must be of type 'string[] | null | undefined', but here has type 'string[] | undefined'.

14 gradient?: string[]; ~~~~~~~~

node_modules/@types/google.maps/index.d.ts:8894:5 8894 gradient?: string[]|null;
~~~~~~~~m 'gradient' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:15:9 - error TS2717: Subsequent property declarations must have the same type. Property 'map' must be of type 'Map | null | undefined', but here has type 'Map | undefined'.

15 map?: Map; ~~~

node_modules/@types/google.maps/index.d.ts:8898:5 8898 map?: google.maps.Map|null;
~~~ 'map' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:16:9 - error TS2717: Subsequent property declarations must have the same type. Property 'maxIntensity' must be of type 'number | null | undefined', but here has type 'number | undefined'.

16 maxIntensity?: number; ~~~~~~~~~~~~

node_modules/@types/google.maps/index.d.ts:8905:5 8905 maxIntensity?: number|null;
~~~~~~~~~~~~ 'maxIntensity' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:17:9 - error TS2717: Subsequent property declarations must have the same type. Property 'opacity' must be of type 'number | null | undefined', but here has type 'number | undefined'.

17 opacity?: number; ~~~~~~~

node_modules/@types/google.maps/index.d.ts:8910:5 8910 opacity?: number|null;
~~~~~~~ 'opacity' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:18:9 - error TS2717: Subsequent property declarations must have the same type. Property 'radius' must be of type 'number | null | undefined', but here has type 'number | undefined'.

18 radius?: number; ~~~~~~

node_modules/@types/google.maps/index.d.ts:8914:5 8914 radius?: number|null; ~~~~~~ 'radius' was also declared here.

Error: node_modules/@types/googlemaps/reference/visualization.d.ts:22:9 - error TS2717: Subsequent property declarations must have the same type. Property 'location' must be of type 'LatLng | null', but here has type 'LatLng'.

22 location: LatLng; ~~~~~~~~

node_modules/@types/google.maps/index.d.ts:8926:5 8926 location: google.maps.LatLng|null; ~~~~~~~~ 'location' was also declared here.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source