Bing-Maps-V8-TypeScript-Definitions icon indicating copy to clipboard operation
Bing-Maps-V8-TypeScript-Definitions copied to clipboard

Microsoft.Maps.Directions.Waypoint.getLocation() should return Location | undefined

Open Yuki-Tani opened this issue 1 year ago • 0 comments

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

Yuki-Tani avatar Mar 27 '23 15:03 Yuki-Tani