enteleform
enteleform
Explore posts from servers
CC#
Created by enteleform on 12/31/2022 in #help
❔ Is there an equivalent feature to TypeScript's Indexed Access Types?
Gotcha, thanks for the info!
7 replies
CC#
Created by enteleform on 12/31/2022 in #help
❔ Is there an equivalent feature to TypeScript's Indexed Access Types?
It facilitates reuse of types rather than duplication. e.g. StringItems can be reused as many times as necessary, VS having to write Example<string>["items"] (or a much more complex type 💀) every time. More info @ https://www.typescriptlang.org/docs/handbook/2/indexed-access-types.html
7 replies