Published on

Typescript 5.0 - Const modifiers make generics a LOT easier

Authors

Typescript 5.0 - Const modifiers make generics a LOT easier

Typescript 5.0 - Const modifiers make generics a LOT easier

In Typescript 5.0 you will be able to apply into generics declaration that they will have a const value, this will result in readonly values with types with the values described in the parameter.

Fallback text 1