1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-20 08:02:35 +02:00

Typo in TS docs (#7869)

This commit is contained in:
Arman Toreniyazov
2024-12-21 16:25:57 +03:00
committed by GitHub
parent e52608a48a
commit 77ca038e8c

View File

@@ -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: