Typescript Dynamic Function Name Must Be A String