Typescript Dynamic Key Value In Connection