@@ -92,9 +92,9 @@ interface ClassMethodDecoratorContext<
9292 } ;
9393
9494 /**
95- * Adds a callback to be invoked either before static initializers are run (when
96- * decorating a `static` element), or before instance initializers are run (when
97- * decorating a non-`static` element).
95+ * Adds a callback to be invoked either after static methods are defined but before
96+ * static initializers are run (when decorating a `static` element), or before instance
97+ * initializers are run (when decorating a non-`static` element).
9898 *
9999 * @example
100100 * ```ts
@@ -158,9 +158,9 @@ interface ClassGetterDecoratorContext<
158158 } ;
159159
160160 /**
161- * Adds a callback to be invoked either before static initializers are run (when
162- * decorating a `static` element), or before instance initializers are run (when
163- * decorating a non-`static` element).
161+ * Adds a callback to be invoked either after static methods are defined but before
162+ * static initializers are run (when decorating a `static` element), or before instance
163+ * initializers are run (when decorating a non-`static` element).
164164 */
165165 addInitializer ( initializer : ( this : This ) => void ) : void ;
166166
@@ -205,9 +205,9 @@ interface ClassSetterDecoratorContext<
205205 } ;
206206
207207 /**
208- * Adds a callback to be invoked either before static initializers are run (when
209- * decorating a `static` element), or before instance initializers are run (when
210- * decorating a non-`static` element).
208+ * Adds a callback to be invoked either after static methods are defined but before
209+ * static initializers are run (when decorating a `static` element), or before instance
210+ * initializers are run (when decorating a non-`static` element).
211211 */
212212 addInitializer ( initializer : ( this : This ) => void ) : void ;
213213
@@ -261,9 +261,8 @@ interface ClassAccessorDecoratorContext<
261261 } ;
262262
263263 /**
264- * Adds a callback to be invoked either before static initializers are run (when
265- * decorating a `static` element), or before instance initializers are run (when
266- * decorating a non-`static` element).
264+ * Adds a callback to be invoked immediately after the auto `accessor` being
265+ * decorated is initialized (regardless if the `accessor` is `static` or not).
267266 */
268267 addInitializer ( initializer : ( this : This ) => void ) : void ;
269268
@@ -358,9 +357,8 @@ interface ClassFieldDecoratorContext<
358357 } ;
359358
360359 /**
361- * Adds a callback to be invoked either before static initializers are run (when
362- * decorating a `static` element), or before instance initializers are run (when
363- * decorating a non-`static` element).
360+ * Adds a callback to be invoked immediately after the field being decorated
361+ * is initialized (regardless if the field is `static` or not).
364362 */
365363 addInitializer ( initializer : ( this : This ) => void ) : void ;
366364
0 commit comments