I’ve noticed when using tsc in watch mode that sometimes - especially if a file has been renamed - it doesn’t realise the file needs recompiling. This state persists across reboots, restarting the watcher, all the usual stuff. The last time I hit this was when I needed
The technique we’re using is the one used by Google, Microsoft and others to verify that you've got some authority over a domain.
[Last time we left it], the server only had a single route and was all in one file. That’s fine to start with but it’s not exactly scalable. Let’s add some routes from external files.
I've been using hapi lately, and decided to start using Typescript at the same time. When I looked though there didn't seem to be a lot out there on using them both together. Here's what I learned.
Using hapi's request.payload from Typescript without compiler errors.