Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 13, 2024
1 parent a6983e4 commit 9578c73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
5 changes: 1 addition & 4 deletions packages/angular-table/src/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ export function proxifyTable<
>(
tableSignal: Signal<Table<TFeatures, TData>>,
): Table<TFeatures, TData> & Signal<Table<TFeatures, TData>> {
const internalState = tableSignal as TableSignal<
TFeatures,
TData
>
const internalState = tableSignal as TableSignal<TFeatures, TData>

return new Proxy(internalState, {
apply() {
Expand Down
6 changes: 1 addition & 5 deletions packages/svelte-table/src/FlexRender.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
type Props = {
/** The cell or header field of the current cell's column definition. */
content?: TContext extends HeaderContext<
TFeatures,
TData,
TValue
>
content?: TContext extends HeaderContext<TFeatures, TData, TValue>
? ColumnDefTemplate<HeaderContext<TFeatures, TData, TValue>>
: TContext extends CellContext<TFeatures, TData, TValue>
? ColumnDefTemplate<CellContext<TFeatures, TData, TValue>>
Expand Down
5 changes: 1 addition & 4 deletions packages/table-core/src/core/rows/constructRow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ interface Person {

describe('constructRow', () => {
it('should create a row with all core row APIs and properties', () => {
const table = { _features: { Rows }, options: {} } as Table<
any,
Person
>
const table = { _features: { Rows }, options: {} } as Table<any, Person>
const id = 'test-row'
const original = { firstName: 'Tanner' } as Person
const rowIndex = 0
Expand Down

0 comments on commit 9578c73

Please sign in to comment.