#StackBounty: #angular #typescript #angular-aot Typescript map in angular with AOT

Bounty: 50

I am using typescript map (testMap: Map<string, Array<string>> = new Map<string, Array<string>>();) in my angular application and everything works if I run it using ‘ng serve’. But if run it using ‘ng serve –aot’, maps are not working. I don’t get any exception but the maps are null when I debug my code. I want to know if it’s a known issue and if there is a workaround for this. Thank you for your help.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.