Typescript Variable With Multiple Types Of Fencing