What is the design decision to lean towards not returning an anonymous types from a method?
How can you use your type inside your method if the definition is only in the call of the method ?
It's not javascript.