Typescript saves ridiculous amounts of time in bugfixes and is IMO a lot more readable than JS.
I don't know how many times TS has complained about some type mismatch in my code that made me scratch my head for 2 seconds to only then realize I was doing something stupid. With plain JS that would've been no issue, until I have some obscure bug 30 minutes later and have to figure out it's source.
Also, whatever piece of code you are working on, to do anything you have to have the types of your variables/functions in mind. If you have to keep track of all of them in your head, you will definitely mess it up at some point or have to look through a bunch of different methods/files to track down the source of some piece of data to be certain what's contained in it.
So yeah, TS might take slightly longer to type out, but it saves you a lot of dev time.
You can run pihole on any linux system, not sure how compatibility is with windows/macos. I used to just run it locally. It also has some speed benefits to run it on the same machine that consumes it