Fix lint warnings, style fixups

Followup work for recent PRs
Our runtime typecheck transform fails here because it `text` and `node` don't match (more specifically, I think it will fail if you specify things in the docblock that aren't in the parameters, but not visa versa)