parent
afb4634e79
commit
1dbdb9c1aa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue