Bing Map Types missing types for other modules
aroravijay opened this issue · 1 comments
aroravijay commented
In angular 4 and typescript 2.6 I am following your instructions to add type information.
But i get the following error: Property 'SpatialDataService' does not exist on type 'typeof Maps'. when trying to use the SpatialDataService module or any other modules.
In @types\BingMaps I dont see any type information on the other modules.
Addition the references also does not helps
/// <reference path="types/MicrosoftMaps/Microsoft.Maps.d.ts" />
/// <reference path="types/MicrosoftMaps/Modules/SpatialDataServices.d.ts" />
Please adivse
Thanks
aroravijay commented
I was able to resolve the issue by not using definitely types and updating reference path like
/// <reference path="../../node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.d.ts" /> /// <reference path="../../node_modules/bingmaps/types/MicrosoftMaps/Modules/SpatialDataService.d.ts" />