We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22af50 commit deb2bc7Copy full SHA for deb2bc7
src/components/map/use-map-instance.ts
@@ -140,10 +140,6 @@ export function useMapInstance(
140
map = new google.maps.Map(mapDiv, {
141
...mapOptions,
142
renderingType: renderingType as google.maps.RenderingType,
143
- // The colorScheme option and google.maps.ColorScheme type haven't been added
144
- // to the @types/google.maps package yet, so this will cause a TS error:
145
- // @ts-expect-error TS2353: Object literal may only specify known properties,
146
- // and colorScheme does not exist in type MapOptions
147
colorScheme: colorScheme as google.maps.ColorScheme
148
});
149
}
0 commit comments