Skip to content

Commit

Permalink
Fix spelling (#2069)
Browse files Browse the repository at this point in the history
Changed "Conditinal" to "Conditional"
  • Loading branch information
m-sekhon authored Dec 13, 2023
1 parent afb4634 commit 1dbdb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ type Point = { x: number; y: number };
type P = keyof Point; // x | y
```

## Conditinal Types
## Conditional Types

```ts
// SomeType extends OtherType ? TrueType : FalseType;
Expand Down

0 comments on commit 1dbdb9c

Please sign in to comment.