We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a24a1 commit 504f7f3Copy full SHA for 504f7f3
1 file changed
samples/js-api-loader-map/index.ts
@@ -22,7 +22,7 @@ async function initMap(): Promise<void> {
22
// [END maps_js_api_loader_map_options]
23
24
// Load the Maps library.
25
- const { Map } = (await importLibrary('maps')) as google.maps.MapsLibrary;
+ const { Map } = (await importLibrary('maps'));
26
27
// Set map options.
28
const mapOptions = {
@@ -38,4 +38,4 @@ async function initMap(): Promise<void> {
38
}
39
40
initMap();
41
-// [END maps_js_api_loader_map]
+// [END maps_js_api_loader_map]
0 commit comments