TypeScript: Documentation - Generics
typescriptlang.org · 4,549 words · saved by 1 readers
Types which take parameters
A major part of software engineering is building components that not only have well-defined and consistent APIs, but are also reusable. Components that are capable of working on the data of today as well as the data of tomorrow will give you the most flexible capabilities for building up large software systems. In languages like C# and Java, one of the main tools in the toolbox for creating reusable components is generics , that is, being able to create a component that can work over a variety of types rather than a single one. This allows users to consume these components and use their own ty
related reading
- Shikishiki.style
- TypeScript: Documentation - More on Functionstypescriptlang.org
- TypeScript: Documentation - The Basicstypescriptlang.org
- TypeScript: Documentation - Object Typestypescriptlang.org
- Generic Data Types - The Rust Programming Languagedoc.rust-lang.org
- Documentationdocs.swift.org
- TypeScript: Documentation - TypeScript 3.7typescriptlang.org
- TypeScript: Documentation - Classestypescriptlang.org
- Variance - Rust Compiler Development Guiderustc-dev-guide.rust-lang.org
- Golang Generics Explained (Functions, Structs, JSON & Real Examples) | GoLinuxCloudgolinuxcloud.com
- Typescript utility types that you must know - DEV Communitydev.to
- Reading 8: Defining ADTs with Interfaces, Generics, Enums, and Functionsweb.mit.edu