TypeScript
تعلّم TypeScript من البداية حتى النهاية. الأنواع، interfaces، generics، classes، modules، utility و mapped types، ملفات التصريح، والمترجم.
18 درسًا، بالترتيب
- 120 دقيقة
مرحباً يا TypeScript
What TypeScript isTsc compile stepRunning a .ts fileThe play button - 225 دقيقة
أساسيات الأنواع (Type)
Primitive typesStringNumberBooleanNullUndefined+3 - 325 دقيقة
المصفوفات والـ Tuples
Array typesReadonly arraysTuple typesFixed-length tuplesNamed tuple elements - 425 دقيقة
أنواع الكائنات (Type) والـ Interfaces
Object literal typesInterface keywordRequired vs optional propertiesStructural typingExcess property checks - 525 دقيقة
الدوال
Parameter typesReturn typesVoid returnDefault parametersRest parametersFunction type expressions+1 - 625 دقيقة
Union و Literal Types
Union typesString literal typesNumeric literal typesLiteral narrowing with as constUnion of object shapes - 730 دقيقة
تضييق الأنواع (Type Narrowing)
Typeof narrowingTruthiness narrowingEquality narrowingIn operator narrowingInstanceof narrowingDiscriminated unions+1 - 820 دقيقة
Type Aliases مقابل Interfaces
Type aliasesInterface declarationsExtending interfacesIntersection typesDeclaration mergingWhen to pick which - 925 دقيقة
Optional و Readonly و Nullable
Optional propertiesReadonly propertiesNon-null assertion operatorOptional chainingNullish coalescingStrictNullChecks - 1020 دقيقة
Enums
Numeric enumsString enumsConst enumsEnums vs string literal unionsReverse mapping caveats - 1130 دقيقة
Generics
Generic functionsGeneric interfacesType parametersType inference for genericsBounded generics with extendsDefault type parameters - 1225 دقيقة
الـ Classes
Class declarationsConstructorsInstance propertiesAccess modifiers (public, private, protected)Readonly fieldsParameter properties+1 - 1325 دقيقة
الوراثة والـ Abstract Classes
Extends keywordSuper callsMethod overrideAbstract classesAbstract methodsImplements with interface - 1425 دقيقة
الـ Modules
ES module syntaxNamed exportsDefault exportType-only importsRe-exportsModule resolution basics - 1530 دقيقة
Utility Types
Partial<T>Required<T>Readonly<T>Pick<T, K>Omit<T, K>Record<K, V>+2 - 1630 دقيقة
Mapped و Conditional Types
Keyof operatorMapped types syntaxKey remapping with asConditional typesInfer keywordDistributive conditional types - 1725 دقيقة
ملفات التصريح (Declaration Files) والمكتبات
.d.ts filesDefinitelyTyped (@types packages)Ambient declarationsDeclare moduleTypeRoots and types option - 1830 دقيقة
tsconfig والمترجم (Compiler)
Tsconfig.jsonStrict modeTarget and libModule and moduleResolutionOutDir and rootDirIncremental and watch+1
تعلّم TypeScript بلغتك
كل درس واختبار ورد من المدرس يظهر بلغتك. المدرس الذكي يرد بنفس اللغة التي تكتب بها.
Roles that use TypeScript
See how hiring teams interview engineers on TypeScript, in production-like environments.
Frontend Engineer (React, Angular, Vue)
Hire frontend engineers in real workspaces with Vite, real component libraries and real performance budgets. Live or take-home, fully recorded.
See the interviewFull Stack Developer
Hire full stack developers in real apps with real APIs, real UIs and real tests. Live or take-home, fully recorded.
See the interviewWeb Application Engineer
Hire web application engineers in real apps with real routes, real auth and real test suites. Live or take-home, fully recorded.
See the interview