Updated to newest version of TS

Now support for Union Types