Update types.sota

Redid type style to use same syntax as function definitions.  The difference will be if the .new function is defined within the body or not.