@types/react-google-maps-loader
Advanced tools
Comparing version 4.2.6 to 4.3.0
/// <reference types="google.maps" /> | ||
import { Component, ReactNode } from "react"; | ||
export default ReactGoogleMapsLoader; | ||
export = ReactGoogleMapsLoader; | ||
declare class ReactGoogleMapsLoader extends Component< | ||
ReactGoogleMapsLoader.Props | ||
> {} | ||
declare class ReactGoogleMapsLoader extends Component<ReactGoogleMapsLoader.Props> {} | ||
@@ -20,4 +19,4 @@ declare namespace ReactGoogleMapsLoader { | ||
params: Params; | ||
render: (googleMaps: GoogleMaps, error?: string | null) => ReactNode; | ||
render: (googleMaps: GoogleMaps, error?: string | null | undefined) => ReactNode; | ||
} | ||
} |
{ | ||
"name": "@types/react-google-maps-loader", | ||
"version": "4.2.6", | ||
"version": "4.3.0", | ||
"description": "TypeScript definitions for react-google-maps-loader", | ||
@@ -20,4 +20,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-google-maps-loader", | ||
}, | ||
"typesPublisherContentHash": "299a46e1d6c2f28f2ac387c146749cf288b68ad24725e60b47460511a63caaa0", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "3b375cb6c7f46df6382e0f454b37f972421f06841b98a65bdae9974abe6b9277", | ||
"typeScriptVersion": "4.8" | ||
} |
@@ -12,9 +12,8 @@ # Installation | ||
/// <reference types="google.maps" /> | ||
import { Component, ReactNode } from "react"; | ||
export default ReactGoogleMapsLoader; | ||
export = ReactGoogleMapsLoader; | ||
declare class ReactGoogleMapsLoader extends Component< | ||
ReactGoogleMapsLoader.Props | ||
> {} | ||
declare class ReactGoogleMapsLoader extends Component<ReactGoogleMapsLoader.Props> {} | ||
@@ -31,3 +30,3 @@ declare namespace ReactGoogleMapsLoader { | ||
params: Params; | ||
render: (googleMaps: GoogleMaps, error?: string | null) => ReactNode; | ||
render: (googleMaps: GoogleMaps, error?: string | null | undefined) => ReactNode; | ||
} | ||
@@ -39,3 +38,3 @@ } | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT | ||
* Last updated: Sat, 19 Oct 2024 03:38:51 GMT | ||
* Dependencies: [@types/google.maps](https://npmjs.com/package/@types/google.maps), [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -42,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3710
15
41