Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yogithesymbian/typescript_basic_my_improvements


https://github.com/yogithesymbian/typescript_basic_my_improvements

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# TypeScript Learning Project Improvements | Powered By Ai

This repository contains various TypeScript files that demonstrate basic to advanced TypeScript concepts. Each file focuses on a specific concept, starting from basic types to more advanced topics like function types, enums, and type aliases.

## Files and Concepts

| **File Path** | **Description** |
| ------------------------------------- | --------------------------------------------------------- |
| `src/1-types.ts` | Introduction to basic types in TypeScript |
| `src/2-type-casing.ts` | Understanding Type Casing in TypeScript |
| `src/3-numbers-strings-booleans.ts` | Working with numbers, strings, and booleans in TypeScript |
| `src/4-type-inference.ts` | Type Inference in TypeScript |
| `src/5-understanding-types.ts` | Overview of TypeScript Types and their importance |
| `src/6-object-types.ts` | Understanding and using Object Types in TypeScript |
| `src/7-nested-objects.ts` | Working with Nested Objects in TypeScript |
| `src/8-array-types.ts` | Defining and using Array Types in TypeScript |
| `src/9-tupples.ts` | Working with Tuples in TypeScript |
| `src/10-enum.ts` | Introduction to Enums in TypeScript |
| `src/11-any-types.ts` | Understanding the `any` type in TypeScript |
| `src/12-union-types.ts` | Using Union Types in TypeScript |
| `src/13-literal-types.ts` | Working with Literal Types in TypeScript |
| `src/14-type-aliases.ts` | Introduction to Type Aliases in TypeScript |
| `src/15-type-aliases-object-types.ts` | Using Type Aliases with Object Types in TypeScript |
| `src/16-core-types.ts` | Core TypeScript Types and Concepts |
| `src/17-function-return-void.ts` | Function Return Types and the `void` type |
| `src/18-functions-as-types.ts` | Functions as Types in TypeScript |
| `src/19-function-types-callbacks.ts` | Function Types and Callbacks in TypeScript |
| `src/20-functions-types.ts` | Defining Functions with Specific Types in TypeScript |
| `src/21-unknown-types.ts` | Understanding the `unknown` type in TypeScript |
| `src/22-never-types.ts` | Understanding the `never` type in TypeScript |
| `src/23-wrap-up.ts` | Wrapping up and review of TypeScript concepts |
| `src/index.ts` | Entry point to run or test all TypeScript files |

## Setup Instructions

To start working with these files, follow these steps:

1. Clone this repository to your local machine:

```bash
git clone https://github.com/yourusername/typescript-learning.git
```

2. Navigate to the project directory:

```bash
cd typescript-learning
```

3. Install dependencies:

```bash
npm install
```

4. Run the TypeScript code:

```bash
npx tsx src/index.ts
```

## Additional Resources

- [TypeScript Official Documentation](https://www.typescriptlang.org/docs/)
- [TypeScript Playground](https://www.typescriptlang.org/play)
- [TypeScript GitHub](https://github.com/Microsoft/TypeScript)