A demo repository for a blog post on TypeScript Record Type. All the code is in the ./src
folder.
You can exexute:
npx ts-node src/simple-record.ts
You can run:
npm start
And see the output.
To compile both the example to JavaScript in the ./dist
folder you can run:
npm run build
Then you can check the ./dist
folder for the compiled JavaScript files.