TypeScript models use CJS module system This example shows how you can generate the models to use CJS 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