* fix(backend): fix union type generation for ts function notation * chore: update snapshot * fix: naming