Skip to content

Commit

Permalink
Add toggleSort to type
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Oct 8, 2024
1 parent b232a8e commit cee92a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/composables/sprunjer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface Sprunjer {
count: ComputedRef<number>
rows: ComputedRef<any>
fetch: () => void
toggleSort: () => void
downloadCsv: () => void
}

Expand Down
1 change: 1 addition & 0 deletions dist/composables/sprunjer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface Sprunjer {
count: ComputedRef<number>;
rows: ComputedRef<any>;
fetch: () => void;
toggleSort: () => void;
downloadCsv: () => void;
}
declare const useSprunjer: (dataUrl: string, defaultSorts?: AssociativeArray, defaultFilters?: AssociativeArray, defaultSize?: number, defaultPage?: number) => {
Expand Down

0 comments on commit cee92a5

Please sign in to comment.