Skip to content

Commit a938c1e

Browse files
tafelnlusefulthink
andauthored
fix(types): add missing Maps3DLibrary (#994)
Co-authored-by: Martin Schuhfuss <[email protected]>
1 parent c71c8a3 commit a938c1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const DEFAULT_ID = "__googleMapsScriptId";
2222
export type Library =
2323
| "core"
2424
| "maps"
25+
| "maps3d"
2526
| "places"
2627
| "geocoding"
2728
| "routes"
@@ -448,6 +449,7 @@ export class Loader {
448449
*/
449450
public importLibrary(name: "core"): Promise<google.maps.CoreLibrary>;
450451
public importLibrary(name: "maps"): Promise<google.maps.MapsLibrary>;
452+
public importLibrary(name: "maps3d"): Promise<google.maps.Maps3DLibrary>;
451453
public importLibrary(name: "places"): Promise<google.maps.PlacesLibrary>;
452454
public importLibrary(
453455
name: "geocoding"

0 commit comments

Comments
 (0)