Skip to content

Commit 0cc6992

Browse files
ci: apply automated fixes
1 parent 965b55e commit 0cc6992

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

examples/angular/filters/src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@if (!header.isPlaceholder) {
1111
<div
1212
[ngClass]="{
13-
'cursor-pointer select-none': header.column.getCanSort(),
13+
'cursor-pointer select-none': header.column.getCanSort()
1414
}"
1515
>
1616
<ng-container

examples/vue/filters/src/Filter.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ const props = defineProps({
1212
required: true,
1313
},
1414
})
15-
const firstValue = computed(() =>
16-
props.table.getPreFilteredRowModel().flatRows[0]?.getValue(props.column.id)
15+
const firstValue = computed(
16+
() =>
17+
props.table.getPreFilteredRowModel().flatRows[0]?.getValue(props.column.id)
1718
)
1819
const columnFilterValue = computed(() => props.column.getFilterValue())
1920
const sortedUniqueValues = computed(() =>

packages/table-core/src/filterFns.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ const arrIncludesSome: FilterFn<any> = (
6969
columnId: string,
7070
filterValue: unknown[]
7171
) => {
72-
return filterValue.some(val =>
73-
row.getValue<unknown[]>(columnId)?.includes(val)
72+
return filterValue.some(
73+
val => row.getValue<unknown[]>(columnId)?.includes(val)
7474
)
7575
}
7676

packages/table-core/src/utils.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,11 @@ type DeepKeysPrefix<
6565
? `${TPrefix}.${DeepKeys<T[TPrefix], [...TDepth, any]> & string}`
6666
: never
6767

68-
export type DeepValue<T, TProp> =
69-
T extends Record<string | number, any>
70-
? TProp extends `${infer TBranch}.${infer TDeepProp}`
71-
? DeepValue<T[TBranch], TDeepProp>
72-
: T[TProp & string]
73-
: never
68+
export type DeepValue<T, TProp> = T extends Record<string | number, any>
69+
? TProp extends `${infer TBranch}.${infer TDeepProp}`
70+
? DeepValue<T[TBranch], TDeepProp>
71+
: T[TProp & string]
72+
: never
7473

7574
export type NoInfer<T> = [T][T extends any ? 0 : never]
7675

packages/table-core/src/utils/getSortedRowModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export function getSortedRowModel<TData extends RowData>(): (
1818
const sortedFlatRows: Row<TData>[] = []
1919

2020
// Filter out sortings that correspond to non existing columns
21-
const availableSorting = sortingState.filter(sort =>
22-
table.getColumn(sort.id)?.getCanSort()
21+
const availableSorting = sortingState.filter(
22+
sort => table.getColumn(sort.id)?.getCanSort()
2323
)
2424

2525
const columnInfoById: Record<

0 commit comments

Comments
 (0)