diff --git a/packages/rich-text/src/get-active-formats.js b/packages/rich-text/src/get-active-formats.js index 34bca40ecaddeb..8e8a27df5d8037 100644 --- a/packages/rich-text/src/get-active-formats.js +++ b/packages/rich-text/src/get-active-formats.js @@ -1,9 +1,13 @@ /** * Gets the all format objects at the start of the selection. * - * @param {Object} value Value to inspect. - * @param {Array} EMPTY_ACTIVE_FORMATS Array to return if there are no active - * formats. + * @param {Object} value Value to inspect. + * @param {Array} value.formats Formats object data values. + * @param {number} value.start Index to start from. + * @param {number} value.end Index to end. + * @param {Array} value.activeFormats Array to return if there are active formats. + * @param {Array} EMPTY_ACTIVE_FORMATS Array to return if there are no active + * formats. * * @return {?Object} Active format objects. */