The ecosystem is largely adopting Typescript as the canonical way to write javascript applications now, and having types makes the code more readable. I feel like it makes a lot more sense for tutorials to show things in Typescript, which is what most devs would actually use, rather than lose that type context with pure JS.