mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-28 08:24:32 +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:
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;
|
||||
|
||||
Reference in New Issue
Block a user