TypeScript Foundations: Union Types and Type Aliases
Learn how to write flexible, robust, and reusable TypeScript code by mastering type aliases, union types, and modern type narrowing techniques.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
As you build larger applications, restricting variables to a single rigid data type can limit your code's flexibility. Understanding how to combine and customize types is essential for writing clean, scalable TypeScript. This written course guides you through the core concepts of union types and type aliases, enabling you to create highly adaptable type definitions. You will learn how to handle multiple potential types safely, reduce code duplication, and write self-documenting code that catches errors during development. What you'll learn: Understand the foundational syntax of union types to allow variables to hold multiple type options; Create custom, reusable type definitions using type aliases to simplify complex type signatures; Apply type narrowing techniques, including type guards and the typeof operator, to safely handle union types at runtime; Implement literal types and discriminated unions to model precise application states; Practice refactoring standard JavaScript code into strongly typed TypeScript structures through written exercises. The course begins with essential terminology and the basic mechanics of unions before moving into practical patterns for type composition and narrowing. You will read clear explanations and analyze step-by-step code snippets to solidify your understanding of modern type design. This course is designed for beginners who have a basic grasp of JavaScript and want to master TypeScript's type system. No advanced TypeScript experience is required. Start reading today to write safer, more expressive TypeScript code.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 54 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
🌟 اختيار الطلاب
🎓 بشهادة
أساسيات TypeScript
شهادة
تطبيق عملي
DA 6,500
→
💼 جاهز لسوق العمل
🎓 بشهادة
التطوير الزاوي المنظم: بناء تطبيقات تفاعلية
شهادة
تطبيق عملي
DA 6,500
→
💼 جاهز لسوق العمل
🎓 بشهادة
1999: إنشاء أول موقع إلكتروني.
شهادة
تطبيق عملي
DA 6,500
→
🔥 مطلوب
🎓 بشهادة
تطوير تطبيقات الويب الكلاسيكية باستخدام Angular: الوحدات (Modules)، TypeScript، وواجهات برمجة التطبيقات (APIs)
شهادة
تطبيق عملي
DA 6,500
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DA 13,000 واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي DA 1,625.00. لا تنتهي صلاحية الأرصدة أبداً.
DA 13,000
200 رصيد
DA 1,625.00 / دورة
أفضل قيمة
DA 33,000
550 رصيد
DA 1,500.00 / دورة
DA 65,000
1200 رصيد
DA 1,354.17 / دورة
الرصيد يصلح لأي دورة ولا ينتهي.