mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix MapTypeStyle (elementType and featureType accept only string)
This commit is contained in:
Vendored
+3
-3
@@ -225,7 +225,7 @@ declare module google.maps {
|
||||
setStyle(style: Data.StylingFunction|Data.StyleOptions): void;
|
||||
toGeoJson(callback: (feature: Object) => void): void;
|
||||
}
|
||||
|
||||
|
||||
export module Data {
|
||||
export interface DataOptions {
|
||||
map?: Map;
|
||||
@@ -1204,8 +1204,8 @@ declare module google.maps {
|
||||
}
|
||||
|
||||
export interface MapTypeStyle {
|
||||
elementType?: MapTypeStyleElementType;
|
||||
featureType?: MapTypeStyleFeatureType;
|
||||
elementType?: string|MapTypeStyleElementType;
|
||||
featureType?: string|MapTypeStyleFeatureType;
|
||||
stylers?: MapTypeStyler[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user