Bing-Maps-V8-TypeScript-Definitions
Bing-Maps-V8-TypeScript-Definitions copied to clipboard
Microsoft.Maps.Directions.Waypoint.getLocation() should return Location | undefined
In current definition of Microsoft.Maps.Directions.Waypoint.getLocation()
, it returns Location
, but it looks like that the method actually returns undefined when the location is not set. The type of the return value should be Location | undefined