Why isn't TypeScript giving an error? - Theo's Typesafe Cult