diff --git a/docs/types-library-optional.md b/docs/types-library-optional.md index 1a1bf30..7221f17 100644 --- a/docs/types-library-optional.md +++ b/docs/types-library-optional.md @@ -16,4 +16,4 @@ end ## Design -As a solution, a new method to the `types` library should be added called `optional`. This new method will act the same as `types.unionof(type, types.singleton(nil))`. +As a solution, a new method to the `types` library should be added called `optional`. When called on a union, this will add `nil` to the components. Otherwise, this new method will act the same as `types.unionof(type, types.singleton(nil))`.