Skip to content

Commit

Permalink
fix: tweak annoying types
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed May 8, 2024
1 parent 644af19 commit 84b0498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type OPaths<T> = OPathsWithOptional<T>

export type MUITableSlot<T = any> = {
data: Readonly<T>
value: Readonly<any> | undefined
value: any
isExpanded: Ref<boolean>
class: Readonly<string | undefined>
style: Readonly<string | undefined>
Expand Down Expand Up @@ -47,7 +47,7 @@ export type MUIRowMeta = {
export type MUIButton<T extends Record<string, any>, Label = string> = {
/** Executed on button click */
handler: (info: {
value: Readonly<any>
value: any
data: Readonly<T>
isExpanded: Ref<boolean>
}) => void | Promise<void>
Expand Down

0 comments on commit 84b0498

Please sign in to comment.