TypeScript models use ESM module system This example shows how you can generate the models to use ESM module system. How to run this example Run this example using: npm i && npm run start If you are on Windows, use the start:windows script instead: npm i && npm run start:windows