File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { Attributes } from '../Calliope/Concerns/HasAttributes';
8
8
*/
9
9
export default interface AttributeCaster {
10
10
/**
11
- * Transform the attribute from the underlying model value.
11
+ * Transform the attribute from the underlying model value and return it .
12
12
*
13
13
* @param {any } value - the value to return
14
14
* @param {object } attributes - receives a clone of the raw attributes
@@ -18,12 +18,12 @@ export default interface AttributeCaster {
18
18
get : ( value : unknown , attributes : Attributes ) => unknown ;
19
19
20
20
/**
21
- * Transform the attribute to its underlying model values.
21
+ * Transform the attribute to its underlying model values and return it .
22
22
*
23
23
* @param {any } value - the value to set
24
24
* @param {object } attributes - receives a clone of the raw attributes
25
25
*
26
- * @return {void }
26
+ * @return {any }
27
27
*/
28
- set : ( value : unknown , attributes : Attributes ) => void ;
28
+ set : ( value : unknown , attributes : Attributes ) => unknown ;
29
29
}
You can’t perform that action at this time.
0 commit comments