diff --git a/core/modules/text/text.js b/core/modules/text/text.js
index 82fdf2a..382b6f2 100644
--- a/core/modules/text/text.js
+++ b/core/modules/text/text.js
@@ -11,6 +11,9 @@
    * Auto-hide summary textarea if empty and show hide and unhide links.
    *
    * @type {Drupal~behavior}
+   *
+   * @prop {Drupal~behaviorAttach} attach
+   *   Attaches auto-hide behavior on `text-summary` events.
    */
   Drupal.behaviors.textSummary = {
     attach: function (context, settings) {
