Back to Flow

Announcing Conditional Types

website/blog/2024-03-05-Announcing-Conditional-Types.md

0.312.1292 B
Original Source

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

Conditional types allow you to choose between two different output types by inspecting an input type.