Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Cloudflare Full-Stack Development
·
Module 2
أساسيات TypeScript العملية
1
Setting Up TypeScript for Server-Side Projects
Set up a new project with TypeScript and configure the `tsconfig.json` file for a modern server-side application.
2
Using Basic Data Types
Apply basic types (string, number, boolean, array) to variables, function parameters, and return values.
3
Defining Complex Data Structures with `interface` and `type` Aliases
Define complex data structures using `interface` and `type` aliases.
4
Handling Multiple Types with Union Types and Type Guards
Use union types (`|`) and type guards to safely handle variables that can be of multiple types.
5
Generic Functions for Type-Safe Reusability
Create reusable, type-safe generic functions that operate on a variety of data types.
6
Leveraging Utility Types for Type Transformation
Use utility types (e.g., `Partial`, `Pick`, `Omit`, `ReturnType`) to create new types from existing ones without duplication.
Previous module
أنماط JavaScript الحديثة للإنتاج
Next module
البرمجة غير المتزامنة المتقدمة في TypeScript