Better formatting for "optional"

Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-02-15 17:38:53 +01:00
committed by Eric Peterson
parent 3e9d8427b6
commit ff91e9b720
+1 -1
View File
@@ -90,7 +90,7 @@ export interface RegisterDecoratorParameters {
decorator: IndexableDocumentDecorator;
/**
* An optional array of document types that the given decorator should apply to. If none are provided,
* (Optional) An array of document types that the given decorator should apply to. If none are provided,
* the decorator will be applied to all types.
*/
types?: string[];