When using the new [`module` setting `"Node2016"`](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs), the import fails. See this example: 