It's becoming a lot of work to check the types of functions when making changes to this server. And it's also becoming a lot of work to do the lint work manually during code review (self or peer). At this point, my opinion is that it isn't worth the tradeoff for a more pure implementation (we already use a lot of opinionated frameworks for this demo like next).
If pure JS is necessary, we could optionally transpile to a modern ECMAScript or something and then output that to a branch via an action.
It's becoming a lot of work to check the types of functions when making changes to this server. And it's also becoming a lot of work to do the lint work manually during code review (self or peer). At this point, my opinion is that it isn't worth the tradeoff for a more pure implementation (we already use a lot of opinionated frameworks for this demo like
next
).If pure JS is necessary, we could optionally transpile to a modern ECMAScript or something and then output that to a branch via an action.