I have been receiving the error shown in the attached picture in map.d.ts (first image). Due to this I am not getting a full intellisense as shown in the second image.

I really appreciate any help resolving this issue.

[![error1](https://i.stack.imgur.com/RPpd0.png)](https://i.stack.imgur.com/RPpd0.png)
[![erro2](https://i.stack.imgur.com/Sn440.png)](https://i.stack.imgur.com/Sn440.png)