Data Types in TypeScript
- let has block scope and var has function scope.
Now let us replace var with let keyword, we get an error as shown below
Triple-slash directive to refer other files
Meanwhile check out the new features added as part of 3.5 release.
Hope it helps..