Here it shows error if I specify the correct type Map. In some cases I let it as any and it doesnt show the error, but silently failed.
Map
any
I have never faced that problem. I assume it’s related to your tsconfig.json.