News for hackers. Stuff that matters.
Re:An introduction to type programming in TypeScript by sfvisser on Wednesday February 02, 2022 @11:01AM (#30179365)
Type variables are sometimes called generics and a part of the type language, so JavaScript doesn’t have them. Typescript, but also Rust, Haskell, Java, the ML-family have them.

Type variables abstract over types and are analogous to function parameters at the values level. Think the ‘T’ in ‘List<T>’.

Re:An introduction to type programming in TypeScript by rendall on Thursday February 03, 2022 @03:20AM (#30190014)
Thanks