typescriot types code example
Example 1: how to declare a boolean in typescript
let isDone: boolean = false;
Example 2: use type as value typescript
Typescript interfaces aren''t being compiled into the js output, and you can not use them at runtime