Skip to content

Commit

Permalink
fix: resolve TypeScript type error for expanded state
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshilPatel007 committed Mar 2, 2025
1 parent af1ab77 commit 33c0540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/vue/grouping/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import
useVueTable,
type ColumnDef,
type GroupingState,
type ExpandedState,
} from '@tanstack/vue-table'
import { ref } from 'vue'
Expand Down Expand Up @@ -100,7 +101,7 @@ const columns: ColumnDef<Task>[] = [
// State for grouping
const grouping = ref<GroupingState>([])
const expanded = ref<Record<string, boolean>>({})
const expanded = ref<ExpandedState>({})
// Initialize table
const table = useVueTable({
Expand Down

0 comments on commit 33c0540

Please sign in to comment.