Typescript Get Object Property By Variable