- Published on
Typescript 5.0 - Const modifiers make generics a LOT easier
- Authors
- Name
- Lucas Floriani
- @lucasfloriani13
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.