mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-21 16:41:24 +02:00
Typo in TS docs (#7869)
This commit is contained in:
committed by
GitHub
parent
e52608a48a
commit
77ca038e8c
@@ -10,7 +10,7 @@ type typeAB = typeA & typeB;
|
||||
|
||||
The `typeAB` will have all properties from both typeA and typeB.
|
||||
|
||||
Note that the union type uses the `|` operator that defines a variable which can hold a value of either `typeA` or `typeB`
|
||||
Note that the union type uses the `|` operator that defines a variable which can hold `typeA` value, or `typeB` value, or both altogether.
|
||||
|
||||
Learn more from the following links:
|
||||
|
||||
|
Reference in New Issue
Block a user