Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jithin-b-p/typescript-101

This repository serves as my personal playground for learning TypeScript. Here, I'll be documenting my progress, including code examples, and notes as I delve into the world of statically typed JavaScript. Feel free to follow along, contribute code snippets, or suggest resources!
https://github.com/jithin-b-p/typescript-101

codeexamples learning-resources static-types typescript

Last synced: 3 days ago
JSON representation

This repository serves as my personal playground for learning TypeScript. Here, I'll be documenting my progress, including code examples, and notes as I delve into the world of statically typed JavaScript. Feel free to follow along, contribute code snippets, or suggest resources!

Awesome Lists containing this project

README

        

# TypeScript 101

## Supercharge Your JavaScript with TypeScript

TypeScript builds on top of JavaScript, empowering you to write safer, more predictable code that runs flawlessly on any JavaScript runtime.

## Key benefits for developers:

- Static Typing Advantage: TypeScript's intuitive type system catches errors early on, making your JavaScript code more
robust and easier to maintain.
- Enhanced Productivity: Built-in safeguards like access control and concise class constructors help prevent common mistakes, freeing you to focus on building amazing applications.

## Contents

- [Static types](./StaticTypes/README.md)

- [The Problem](./StaticTypes/README.md/#the-problem)
- [Type annotation](./StaticTypes/README.md/#type-annotation)
- [Type inference](./StaticTypes/README.md/#type-inference)
- [Any type](./StaticTypes/README.md/#any-type)
- [Implicit any](./StaticTypes/README.md/#implicit-any)
- [Type union](./StaticTypes/README.md/#type-union)
- [Type Assertion](./StaticTypes/README.md/#type-assertion)
- [Asserting to unexpected type](./StaticTypes/README.md/#asserting-to-an-unexpected-type)
- [Type guard](./StaticTypes/README.md/#type-guard)
- [Never type](./StaticTypes/README.md/#never-type)
- [Nullable types](./StaticTypes/README.md/#nullable-types)

- [Using functions](./UsingFunctions/README.md)

- [Redefining functions](./UsingFunctions/README.md/#redefining-functions)
- [Understanding function parameters](./UsingFunctions/README.md/#understanding-function-parameters)
- [Optional parameters](./UsingFunctions/README.md/#optional-parameters)