While working on my Typescript code, I encountered an issue when trying to add an entry into a map using the set method. The error message says "cannot read properties of undefined".
I have created a variable called 'users' at line 65 and I intend to add numbers corresponding to user names at line 79. However, when attempting to do so, the following error occurs: Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'set').
To see the exact lines causing the error, please refer to this screenshot: focus on line 65 and 79