Skip to content

geshan/typescript-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-record

A demo repository for a blog post on TypeScript Record Type. All the code is in the ./src folder.

To run the simple example

You can exexute:

npx ts-node src/simple-record.ts

To run the complex exmaple

You can run:

npm start

And see the output.

To compile to JavaScript

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.

About

A demo repo for a blog post about Typescript Record utility type

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published