Skip to content

SayedMajid/Typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TYPESCRIPT: The very beginning. (Study pattern: Book + Code)

- Typescript is typed superset of JavaScript that compiles directly to JavaScript code.
- Typescript makes JavaScript more strongly-typed, recommended for larger sized projects.
- Strong typing enables that the language is pre-compiled and the variables cannot be assigned values that are out of scope/range.
- Easier to debug, maintain, sleep peacefully at night, no fking headaches :)

Pre-requisites:

- node installed.
- npm installed.
- typescript installed.

Compiling typescript code:

- tsc file.ts => creates a file.js file with JavaScript code.

Compilation using tsconfig.json

- tsc --init

Sections:

- Section 1.1 Installation - Completed
- Section 1.2 Syntax - Completed

Releases

No releases published

Packages

No packages published