Typescript Dynamic Key Value Javascript Function Arguments