Skip to content

Commit 3f317ee

Browse files
ci: apply automated fixes
1 parent d0375d5 commit 3f317ee

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

packages/angular-table/src/angularReactivityFeature.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type SkipPropertyFn = (property: string) => boolean
3636
* - `true` enables wrapping using the default skip rules.
3737
* - `false` disables wrapping entirely for that object type.
3838
* - a function allows customizing the skip rules (see {@link SkipPropertyFn}).
39-
*
39+
*
4040
* @example
4141
* ```ts
4242
* const table = injectTable(() => {
@@ -207,9 +207,9 @@ function constructAngularReactivityFeature<
207207
}
208208

209209
/**
210-
* Angular reactivity feature that add reactive signal supports in table core instance.
210+
* Angular reactivity feature that add reactive signal supports in table core instance.
211211
* This is used internally by the Angular table adapter `injectTable`.
212-
*
212+
*
213213
* @private
214214
*/
215215
export const angularReactivityFeature = constructAngularReactivityFeature()

packages/angular-table/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export * from './helpers/flexRenderCell'
1616

1717
/**
1818
* Constant helper to import FlexRender directives.
19-
*
19+
*
2020
* You should prefer to use this constant over importing the directives separately,
2121
* as it ensures you always have the correct set of directives over library updates.
22-
*
22+
*
2323
* @see {@link FlexRenderDirective} and {@link FlexRenderCell} for more details on the directives included in this export.
2424
*/
2525
export const FlexRender = [FlexRenderDirective, FlexRenderCell] as const

packages/angular-table/src/injectTable.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,47 +39,47 @@ export type AngularTable<
3939

4040
/**
4141
* Creates and returns an Angular-reactive table instance.
42-
*
42+
*
4343
* The initializer is intentionally re-evaluated whenever any signal read inside it changes.
4444
* This is how the adapter keeps the table in sync with Angular's reactivity model.
4545
*
4646
* Because of that behavior, keep expensive/static values (for example `columns`, feature setup, row models)
47-
* as stable references outside the initializer, and only read reactive state (`data()`, pagination/filter/sorting signals, etc.)
47+
* as stable references outside the initializer, and only read reactive state (`data()`, pagination/filter/sorting signals, etc.)
4848
* inside it.
4949
*
5050
* The returned table is also signal-reactive: table state and table APIs are wired for Angular signals, so you can safely consume table methods inside `computed(...)` and `effect(...)`.
51-
*
51+
*
5252
* @example
5353
* 1. Register the table features you need
5454
* ```ts
5555
* // Register only the features you need
5656
* import {tableFeatures, rowPaginationFeature} from '@tanstack/angular-table';
57-
* const _features = tableFeatures({
57+
* const _features = tableFeatures({
5858
* rowPaginationFeature,
5959
* // ...all other features you need
6060
* })
61-
*
61+
*
6262
* // Use all table core features
6363
* import {stockFeatures} from '@tanstack/angular-table';
6464
* const _features = tableFeatures(stockFeatures);
6565
* ```
6666
* 2. Prepare the table columns
6767
* ```ts
6868
* import {ColumnDef} from '@tanstack/angular-table';
69-
*
69+
*
7070
* type MyData = {}
71-
*
71+
*
7272
* const columns: ColumnDef<typeof _features, MyData>[] = [
7373
* // ...column definitions
7474
* ]
75-
*
75+
*
7676
* // or using createColumnHelper
7777
* import {createColumnHelper} from '@tanstack/angular-table';
7878
* const columnHelper = createColumnHelper<typeof _features, MyData>();
7979
* const columns = columnHelper.columns([
8080
* columnHelper.accessor(...),
8181
* // ...other columns
82-
* ])
82+
* ])
8383
* ```
8484
* 3. Create the table instance with `injectTable`
8585
* ```ts
@@ -90,7 +90,7 @@ export type AngularTable<
9090
* data: myDataSignal(),
9191
* })
9292
* ```
93-
*
93+
*
9494
* @returns An Angular-reactive TanStack Table instance.
9595
*/
9696
export function injectTable<

0 commit comments

Comments
 (0)