Back to Flow

Introducing Flow Indexed Access Types

website/blog/2021-07-21-Introducing-Flow-Indexed-Access-Types.md

0.312.1346 B
Original Source

:::info[Historical] This post announced indexed access types when it was introduced. For current syntax and behavior, see the Indexed Access Types documentation. :::

Flow’s Indexed Access Types are a new type annotation syntax that allows you to get the type of a property from an object, array, or tuple type.