diff --git a/typescript.md b/typescript.md index d9cd501d65..7a4e6e7d81 100644 --- a/typescript.md +++ b/typescript.md @@ -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;