Typescript Variable With Multiple Types Of Games