In the console, when running node --experimental-fetch the fetch command is now natively enabled (node version >=17.6). see below
However, when I add a typescript layer, I always get error TS2304: Cannot find name 'fetch'.
how can I solve this?
background idea: use fetch natively and get rid of node-fetch and @types/node-fetch dependencies
tsconfig.json and general setup: https://github.com/nexys-system/server-boilerplate/blob/master/tsconfig.json
see also:
