https://github.com/seferogluemre/typescript-exercises
TypeScript Basic Examples This repository contains beginner-friendly examples developed using TypeScript. The goal of these examples is to demonstrate the core concepts and syntax of TypeScript in a practical and easy-to-understand manner.
https://github.com/seferogluemre/typescript-exercises
basis typescript
Last synced: 4 months ago
JSON representation
TypeScript Basic Examples This repository contains beginner-friendly examples developed using TypeScript. The goal of these examples is to demonstrate the core concepts and syntax of TypeScript in a practical and easy-to-understand manner.
- Host: GitHub
- URL: https://github.com/seferogluemre/typescript-exercises
- Owner: seferogluemre
- Created: 2025-01-14T17:29:41.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-23T07:47:07.000Z (12 months ago)
- Last Synced: 2025-03-25T00:42:32.762Z (10 months ago)
- Topics: basis, typescript
- Language: TypeScript
- Homepage:
- Size: 3 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TypeScript Basic Examples
This repository contains beginner-friendly examples developed using TypeScript. The goal of these examples is to demonstrate the core concepts and syntax of TypeScript in a practical and easy-to-understand manner.
Topics Covered:
Type Annotations: Examples of variables with explicit types (string, number, boolean, etc.).
Interfaces and Types: Defining custom data structures and their usage.
Functions: Demonstrating typed function parameters, return types, and optional parameters.
Classes and Objects: Creating and using classes with properties, methods, and constructors.
Enums: Usage of enumerations to define sets of named constants.
Generics: Basic examples showcasing reusable components with generic types.
These examples are ideal for developers transitioning from JavaScript to TypeScript or anyone starting their TypeScript journey.