Skip to content

Commit

Permalink
fix: Adds a ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
willum070 authored Sep 10, 2024
1 parent 99dc26e commit ad9021d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/webgl-tilt-rotation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// [START maps_webgl_tilt_rotation]
async function initMap() {
const { LatLng } = await google.maps.importLibrary("core") as google.maps.CoreLibrary;
//@ts-ignore
const { Map, RenderingType } = await google.maps.importLibrary("maps") as google.maps.MapsLibrary;

const center = new LatLng(37.790211, -122.389607); // Downtown San Francisco, CA
Expand Down Expand Up @@ -59,4 +60,4 @@ async function initMap() {

initMap();
// [END maps_webgl_tilt_rotation]
export {};
export {};

0 comments on commit ad9021d

Please sign in to comment.