Is it reasonable to close a question tagged as TypeScript in favour of a question that asks the same for JavaScript only?
Yes, it is.
Provided the question does not ask about something that is specific to the superset language (especially so closely tied together as JavaScript and TypeScript) and has the same solution, a question tagged with a superset language tag is a duplicate of the question that is a subset of it. I'd go one step further and say that the superset tag does not belong, and the question should also be retagged.
Is it reasonable to expect the OP to "fill-in-the-blanks"
Yes, it is.
Do not forget that we are not a code writing service, a help desk, or a forum. We are a knowledge repository — if the author has trouble applying the solution to their specific circumstance, it has no bearing on the duplicate status. Note that this does not preclude you from giving a helping hand to the user if you want to: engage with them and explain how to do that.