mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix type of H.map.Icon.Options.size
according the documentation of HERE datalens, size can be a number: https://developer.here.com/visualization/documentation/datalens/h-datalens-objectlayer.html
This commit is contained in:
parent
71b90dcce7
commit
e054978b9c
2
types/heremaps/index.d.ts
vendored
2
types/heremaps/index.d.ts
vendored
@ -1743,7 +1743,7 @@ declare namespace H {
|
||||
* @property crossOrigin {boolean} - Specifies whether to use anonynous Cross-Origin Resource Sharing (CORS) when fetching an image to prevent resulting canvas from tainting, default is false. The option is ignored by IE9-10.
|
||||
*/
|
||||
export interface Options {
|
||||
size?: H.math.ISize;
|
||||
size?: H.math.ISize | number;
|
||||
anchor?: H.math.IPoint;
|
||||
hitArea?: H.map.HitArea;
|
||||
asCanvas?: H.map.HitArea;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user