MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Improve TS config to use recommended Node.js v18 configuration #286

Closed clemens-mw closed 3 months ago

clemens-mw commented 3 months ago

The only correct module settings for projects that intend to run in Node.js are node16 and nodenext.

https://www.typescriptlang.org/docs/handbook/modules/theory.html#the-module-output-format

Node.js v18 supports ES2023: https://node.green/#ES2023