Skip to main content

index

docs/
โ””โ”€โ”€ tutorials/
โ””โ”€โ”€ typescript/
โ”œโ”€โ”€ index.mdx
โ”œโ”€โ”€ 01-introduction/
โ”‚ โ”œโ”€โ”€ what-is-typescript.mdx
โ”‚ โ”œโ”€โ”€ why-learn-typescript.mdx
โ”‚ โ”œโ”€โ”€ typescript-vs-javascript.mdx
โ”‚ โ”œโ”€โ”€ typescript-features.mdx
โ”‚ โ”œโ”€โ”€ typescript-use-cases.mdx
โ”‚ โ””โ”€โ”€ how-typescript-works.mdx
โ”œโ”€โ”€ 02-environment-setup/
โ”‚ โ”œโ”€โ”€ install-nodejs.mdx
โ”‚ โ”œโ”€โ”€ install-typescript.mdx
โ”‚ โ”œโ”€โ”€ install-code-editor.mdx
โ”‚ โ”œโ”€โ”€ typescript-playground.mdx
โ”‚ โ”œโ”€โ”€ ts-node-and-tsx.mdx
โ”‚ โ””โ”€โ”€ verify-installation.mdx
โ”œโ”€โ”€ 03-first-typescript-program/
โ”‚ โ”œโ”€โ”€ hello-typescript.mdx
โ”‚ โ”œโ”€โ”€ create-ts-file.mdx
โ”‚ โ”œโ”€โ”€ compile-typescript.mdx
โ”‚ โ”œโ”€โ”€ run-compiled-javascript.mdx
โ”‚ โ”œโ”€โ”€ compiler-errors.mdx
โ”‚ โ””โ”€โ”€ typescript-project-structure.mdx
โ”œโ”€โ”€ 04-type-system-fundamentals/
โ”‚ โ”œโ”€โ”€ type-annotations.mdx
โ”‚ โ”œโ”€โ”€ type-inference.mdx
โ”‚ โ”œโ”€โ”€ primitive-types.mdx
โ”‚ โ”œโ”€โ”€ string-number-and-boolean.mdx
โ”‚ โ”œโ”€โ”€ null-and-undefined.mdx
โ”‚ โ”œโ”€โ”€ any-type.mdx
โ”‚ โ”œโ”€โ”€ unknown-type.mdx
โ”‚ โ”œโ”€โ”€ never-type.mdx
โ”‚ โ”œโ”€โ”€ void-type.mdx
โ”‚ โ””โ”€โ”€ literal-types.mdx
โ”œโ”€โ”€ 05-arrays-and-tuples/
โ”‚ โ”œโ”€โ”€ array-types.mdx
โ”‚ โ”œโ”€โ”€ readonly-arrays.mdx
โ”‚ โ”œโ”€โ”€ tuple-types.mdx
โ”‚ โ”œโ”€โ”€ named-tuples.mdx
โ”‚ โ”œโ”€โ”€ multidimensional-arrays.mdx
โ”‚ โ””โ”€โ”€ array-methods-and-types.mdx
โ”œโ”€โ”€ 06-objects-and-interfaces/
โ”‚ โ”œโ”€โ”€ object-types.mdx
โ”‚ โ”œโ”€โ”€ type-aliases.mdx
โ”‚ โ”œโ”€โ”€ interfaces.mdx
โ”‚ โ”œโ”€โ”€ optional-properties.mdx
โ”‚ โ”œโ”€โ”€ readonly-properties.mdx
โ”‚ โ”œโ”€โ”€ index-signatures.mdx
โ”‚ โ”œโ”€โ”€ excess-property-checks.mdx
โ”‚ โ”œโ”€โ”€ interface-extension.mdx
โ”‚ โ””โ”€โ”€ type-vs-interface.mdx
โ”œโ”€โ”€ 07-functions/
โ”‚ โ”œโ”€โ”€ function-types.mdx
โ”‚ โ”œโ”€โ”€ parameter-types.mdx
โ”‚ โ”œโ”€โ”€ return-types.mdx
โ”‚ โ”œโ”€โ”€ optional-and-default-parameters.mdx
โ”‚ โ”œโ”€โ”€ rest-parameters.mdx
โ”‚ โ”œโ”€โ”€ function-overloads.mdx
โ”‚ โ”œโ”€โ”€ callback-types.mdx
โ”‚ โ”œโ”€โ”€ this-parameter.mdx
โ”‚ โ””โ”€โ”€ arrow-functions.mdx
โ”œโ”€โ”€ 08-unions-and-narrowing/
โ”‚ โ”œโ”€โ”€ union-types.mdx
โ”‚ โ”œโ”€โ”€ intersection-types.mdx
โ”‚ โ”œโ”€โ”€ type-narrowing.mdx
โ”‚ โ”œโ”€โ”€ typeof-narrowing.mdx
โ”‚ โ”œโ”€โ”€ equality-narrowing.mdx
โ”‚ โ”œโ”€โ”€ in-operator-narrowing.mdx
โ”‚ โ”œโ”€โ”€ discriminated-unions.mdx
โ”‚ โ”œโ”€โ”€ custom-type-guards.mdx
โ”‚ โ””โ”€โ”€ exhaustiveness-checking.mdx
โ”œโ”€โ”€ 09-classes-and-oop/
โ”‚ โ”œโ”€โ”€ class-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ constructors-and-properties.mdx
โ”‚ โ”œโ”€โ”€ public-private-and-protected.mdx
โ”‚ โ”œโ”€โ”€ readonly-and-static-members.mdx
โ”‚ โ”œโ”€โ”€ inheritance.mdx
โ”‚ โ”œโ”€โ”€ abstract-classes.mdx
โ”‚ โ”œโ”€โ”€ implements-and-interfaces.mdx
โ”‚ โ”œโ”€โ”€ getters-and-setters.mdx
โ”‚ โ””โ”€โ”€ parameter-properties.mdx
โ”œโ”€โ”€ 10-generics/
โ”‚ โ”œโ”€โ”€ generic-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ generic-functions.mdx
โ”‚ โ”œโ”€โ”€ generic-interfaces.mdx
โ”‚ โ”œโ”€โ”€ generic-classes.mdx
โ”‚ โ”œโ”€โ”€ generic-constraints.mdx
โ”‚ โ”œโ”€โ”€ keyof-and-type-parameters.mdx
โ”‚ โ”œโ”€โ”€ generic-defaults.mdx
โ”‚ โ”œโ”€โ”€ generic-inference.mdx
โ”‚ โ””โ”€โ”€ reusable-generic-utilities.mdx
โ”œโ”€โ”€ 11-advanced-types/
โ”‚ โ”œโ”€โ”€ conditional-types.mdx
โ”‚ โ”œโ”€โ”€ mapped-types.mdx
โ”‚ โ”œโ”€โ”€ template-literal-types.mdx
โ”‚ โ”œโ”€โ”€ indexed-access-types.mdx
โ”‚ โ”œโ”€โ”€ typeof-and-keyof-operators.mdx
โ”‚ โ”œโ”€โ”€ infer-keyword.mdx
โ”‚ โ”œโ”€โ”€ recursive-types.mdx
โ”‚ โ”œโ”€โ”€ distributive-conditional-types.mdx
โ”‚ โ””โ”€โ”€ branded-types.mdx
โ”œโ”€โ”€ 12-utility-types/
โ”‚ โ”œโ”€โ”€ partial-and-required.mdx
โ”‚ โ”œโ”€โ”€ pick-and-omit.mdx
โ”‚ โ”œโ”€โ”€ record-type.mdx
โ”‚ โ”œโ”€โ”€ exclude-and-extract.mdx
โ”‚ โ”œโ”€โ”€ nonnullable.mdx
โ”‚ โ”œโ”€โ”€ parameters-and-returntype.mdx
โ”‚ โ”œโ”€โ”€ readonly-and-awaited.mdx
โ”‚ โ””โ”€โ”€ custom-utility-types.mdx
โ”œโ”€โ”€ 13-modules-and-project-organization/
โ”‚ โ”œโ”€โ”€ modules-overview.mdx
โ”‚ โ”œโ”€โ”€ named-exports-and-imports.mdx
โ”‚ โ”œโ”€โ”€ default-exports-and-imports.mdx
โ”‚ โ”œโ”€โ”€ type-only-imports.mdx
โ”‚ โ”œโ”€โ”€ module-resolution.mdx
โ”‚ โ”œโ”€โ”€ path-aliases.mdx
โ”‚ โ”œโ”€โ”€ declaration-files.mdx
โ”‚ โ”œโ”€โ”€ ambient-types.mdx
โ”‚ โ””โ”€โ”€ project-architecture.mdx
โ”œโ”€โ”€ 14-compiler-and-configuration/
โ”‚ โ”œโ”€โ”€ tsconfig-introduction.mdx
โ”‚ โ”œโ”€โ”€ strict-mode.mdx
โ”‚ โ”œโ”€โ”€ target-and-module-options.mdx
โ”‚ โ”œโ”€โ”€ module-resolution-options.mdx
โ”‚ โ”œโ”€โ”€ source-map-and-output.mdx
โ”‚ โ”œโ”€โ”€ declaration-generation.mdx
โ”‚ โ”œโ”€โ”€ noemit-and-build-checks.mdx
โ”‚ โ”œโ”€โ”€ project-references.mdx
โ”‚ โ””โ”€โ”€ incremental-compilation.mdx
โ”œโ”€โ”€ 15-asynchronous-typescript/
โ”‚ โ”œโ”€โ”€ promises.mdx
โ”‚ โ”œโ”€โ”€ async-and-await.mdx
โ”‚ โ”œโ”€โ”€ typing-promises.mdx
โ”‚ โ”œโ”€โ”€ error-handling.mdx
โ”‚ โ”œโ”€โ”€ promise-all-and-concurrency.mdx
โ”‚ โ”œโ”€โ”€ fetch-and-http-requests.mdx
โ”‚ โ”œโ”€โ”€ api-response-types.mdx
โ”‚ โ””โ”€โ”€ runtime-validation.mdx
โ”œโ”€โ”€ 16-dom-and-browser-types/
โ”‚ โ”œโ”€โ”€ dom-type-definitions.mdx
โ”‚ โ”œโ”€โ”€ query-selectors-and-nullability.mdx
โ”‚ โ”œโ”€โ”€ events-and-event-types.mdx
โ”‚ โ”œโ”€โ”€ forms-and-inputs.mdx
โ”‚ โ”œโ”€โ”€ browser-storage.mdx
โ”‚ โ”œโ”€โ”€ browser-apis.mdx
โ”‚ โ”œโ”€โ”€ dom-manipulation.mdx
โ”‚ โ””โ”€โ”€ typescript-and-accessibility.mdx
โ”œโ”€โ”€ 17-nodejs-and-backend/
โ”‚ โ”œโ”€โ”€ typescript-with-nodejs.mdx
โ”‚ โ”œโ”€โ”€ node-types-and-packages.mdx
โ”‚ โ”œโ”€โ”€ environment-variables.mdx
โ”‚ โ”œโ”€โ”€ filesystem-and-path.mdx
โ”‚ โ”œโ”€โ”€ express-with-typescript.mdx
โ”‚ โ”œโ”€โ”€ request-and-response-types.mdx
โ”‚ โ”œโ”€โ”€ middleware-types.mdx
โ”‚ โ”œโ”€โ”€ database-and-repository-types.mdx
โ”‚ โ””โ”€โ”€ backend-validation.mdx
โ”œโ”€โ”€ 18-frameworks-and-integrations/
โ”‚ โ”œโ”€โ”€ typescript-with-react.mdx
โ”‚ โ”œโ”€โ”€ react-props-and-state.mdx
โ”‚ โ”œโ”€โ”€ react-events-and-forms.mdx
โ”‚ โ”œโ”€โ”€ typescript-with-nextjs.mdx
โ”‚ โ”œโ”€โ”€ typescript-with-vite.mdx
โ”‚ โ”œโ”€โ”€ typescript-with-nestjs.mdx
โ”‚ โ””โ”€โ”€ third-party-library-types.mdx
โ”œโ”€โ”€ 19-testing-and-code-quality/
โ”‚ โ”œโ”€โ”€ testing-typescript-projects.mdx
โ”‚ โ”œโ”€โ”€ unit-testing-with-vitest.mdx
โ”‚ โ”œโ”€โ”€ unit-testing-with-jest.mdx
โ”‚ โ”œโ”€โ”€ mocking-and-test-doubles.mdx
โ”‚ โ”œโ”€โ”€ integration-testing.mdx
โ”‚ โ”œโ”€โ”€ eslint-and-typescript.mdx
โ”‚ โ”œโ”€โ”€ prettier-and-formatting.mdx
โ”‚ โ”œโ”€โ”€ type-tests.mdx
โ”‚ โ””โ”€โ”€ continuous-integration.mdx
โ”œโ”€โ”€ 20-performance-and-best-practices/
โ”‚ โ”œโ”€โ”€ type-safety-best-practices.mdx
โ”‚ โ”œโ”€โ”€ avoid-any.mdx
โ”‚ โ”œโ”€โ”€ runtime-vs-compile-time.mdx
โ”‚ โ”œโ”€โ”€ large-project-organization.mdx
โ”‚ โ”œโ”€โ”€ compiler-performance.mdx
โ”‚ โ”œโ”€โ”€ dependency-and-version-management.mdx
โ”‚ โ”œโ”€โ”€ security-and-input-validation.mdx
โ”‚ โ””โ”€โ”€ migration-from-javascript.mdx
โ”œโ”€โ”€ 21-projects/
โ”‚ โ”œโ”€โ”€ typed-calculator.mdx
โ”‚ โ”œโ”€โ”€ expense-tracker.mdx
โ”‚ โ”œโ”€โ”€ weather-dashboard.mdx
โ”‚ โ”œโ”€โ”€ task-management-app.mdx
โ”‚ โ”œโ”€โ”€ typed-rest-api.mdx
โ”‚ โ”œโ”€โ”€ npm-package-project.mdx
โ”‚ โ”œโ”€โ”€ react-dashboard.mdx
โ”‚ โ””โ”€โ”€ full-stack-capstone.mdx
โ”œโ”€โ”€ reference/
โ”‚ โ”œโ”€โ”€ typescript-types-cheatsheet.mdx
โ”‚ โ”œโ”€โ”€ utility-types-reference.mdx
โ”‚ โ”œโ”€โ”€ compiler-options-reference.mdx
โ”‚ โ”œโ”€โ”€ common-errors-and-solutions.mdx
โ”‚ โ”œโ”€โ”€ javascript-to-typescript-guide.mdx
โ”‚ โ”œโ”€โ”€ glossary.mdx
โ”‚ โ””โ”€โ”€ official-resources.mdx
โ””โ”€โ”€ assets/
โ”œโ”€โ”€ images/
โ”œโ”€โ”€ diagrams/
โ””โ”€โ”€ examples/