Loading progress…

TypeScript

A typed superset of JavaScript: from everyday types to advanced type-level programming.

JavaScript RoadmapIntroduction to TypeScriptTypeScript vs JavaScriptTS and JS InteroperabilityInstallation and Configurationtsconfig.jsonCompiler OptionsRunning TypeScripttscts-nodeTS PlaygroundTypeScript TypesPrimitive TypesbooleannumberstringvoidundefinednullObject TypesInterfaceClassEnumArrayTupleTop TypesObjectunknownanyBottom TypesneverAssertionsas constas [type]as anyNon-null Assertionsatisfies keywordType InferenceType CompatibilityCombining TypesUnion TypesIntersection TypesType Aliaseskeyof OperatorType Guards / NarrowinginstanceoftypeofEqualityTruthinessType PredicatesTypeScript FunctionsTyping FunctionsFunction OverloadingTypeScript InterfacesTypes vs InterfacesExtending InterfacesInterface DeclarationHybrid TypesClassesConstructor ParamsConstructor OverloadingAccess ModifiersAbstract ClassesInheritance vs PolymorphismMethod OverridingGenericsGeneric TypesGeneric ConstraintsDecoratorsUtility TypesPartialPickOmitReadonlyRecordExcludeExtractNonNullableParametersReturnTypeInstanceTypeAwaitedAdvanced TypesMapped TypesConditional TypesLiteral TypesTemplate Literal TypesRecursive TypesTypeScript ModulesNamespacesAmbient ModulesExternal ModulesNamespace AugmentationGlobal AugmentationEcosystemFormattingLintingUseful PackagesBuild Tools