I have the following event handler defined:
$('#current-tab').click(myCode.handleTabClick);
And in that function I have
handleTabClick: (): void => {
    const identifier: string = $(this).attr('id');
},
When I execute this in the browser, the event gets fired but I see identifier is "undefined".  However,  if I add a break-point and then copy $(this).attr('id') into the browser's console, I see that this resolves to "current-tab".
Why can't I capture this into my constant variable?
 
    