Can someone suggest me a typescript template with nodemon and ts-node!

Hi all,

I am totally lost in the apollo server 4 typescript installation. Can someone give me an example?

I just simply want to use nodemon and ts-node to make a development env, so that, I will see the result instantly after the change.

However, what strange thing happens, is in this way, you can not use the “await” in the first level.

if you really want to use the “await” in first level, then you have to set the in “tsconfig.json” file: “module”: “CommonJS” to “module”: "es2021, however, in this way, the ts-node won’t work…

So my question is do you have any suggestions or simply a template?

Thanks and best!