[fabric/core] Improve documentation for Optional type

This commit is contained in:
Pablo Baleztena 2024-10-22 20:12:05 -03:00
parent f189f8994f
commit de49970c0c

View File

@ -8,6 +8,6 @@ export type Nothing = null;
export const Nothing = null;
/**
* Un Optional es un tipo que puede ser un valor o no ser nada.
* An `Optional` type is a type that represents a value that may or may not be present.
*/
export type Optional<T> = T | Nothing;