Skip to content

Commit

Permalink
replace getValue return type of any
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhooks committed May 14, 2024
1 parent 7e0a985 commit f6c8792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface Field< Item extends AnyItem > {
* Callback used to retrieve the value of the field from the item.
* Defaults to `item[ field.id ]`.
*/
getValue?: ( args: { item: Item } ) => string | undefined;
getValue?: ( args: { item: Item } ) => any;

/**
* Callback used to render the field. Defaults to `field.getValue`.
Expand Down

0 comments on commit f6c8792

Please sign in to comment.