Skip to content

Commit c44a2a0

Browse files
Remove an unintended period ('.') in Narrowing.md
Removed an unintended period ('.'), so "For example, with the code: `"value" in x`. where..." becomes "For example, with the code: `"value" in x` where..."
1 parent 9ec526c commit c44a2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/documentation/copy/en/handbook-v2/Narrowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function multiplyValue(container: Container, factor: number) {
276276
JavaScript has an operator for determining if an object or its prototype chain has a property with a name: the `in` operator.
277277
TypeScript takes this into account as a way to narrow down potential types.
278278

279-
For example, with the code: `"value" in x`. where `"value"` is a string literal and `x` is a union type.
279+
For example, with the code: `"value" in x` where `"value"` is a string literal and `x` is a union type.
280280
The "true" branch narrows `x`'s types which have either an optional or required property `value`, and the "false" branch narrows to types which have an optional or missing property `value`.
281281

282282
```ts twoslash

0 commit comments

Comments
 (0)