Skip to content

Commit 1f6fc61

Browse files
committed
docs: fixup callouts
1 parent 3cde27a commit 1f6fc61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/optionals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Bag supports optional parameters using the `Optional` class. `Optional` paramete
44
that can be omitted when creating a Bag object, and will automatically be excluded from array and JSON
55
representations.
66

7-
[!NOTE]
7+
> [!NOTE]
88
> Optional parameters are _different_ from nullable parameters, nulls are still included in the output,
99
> and can be combined with `Optional`. Optional parameters **will not** be filled with nulls when omitted.
1010
11-
[!WARN]
11+
> [!WARN]
1212
> You _must_ specify at least one other type. Optionals cannot be combined with `mixed`.
1313
1414
To make a property optional, use a union type that includes `Optional`:

0 commit comments

Comments
 (0)