Skip to content

Commit

Permalink
ci: apply automated fixes and generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 29, 2024
1 parent df0646d commit 7b0bdd2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/reference/classes/derived.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ new Derived<TState, TArr>(options): Derived<TState, TArr>

#### Defined in

[derived.ts:117](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L117)
[derived.ts:119](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L119)

## Properties

Expand All @@ -41,7 +41,7 @@ derivedToStore: Map<Derived<unknown, readonly any[]>, Set<Store<unknown, (cb) =>

#### Defined in

[derived.ts:100](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L100)
[derived.ts:102](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L102)

***

Expand All @@ -53,7 +53,7 @@ options: DerivedOptions<TState, TArr>;

#### Defined in

[derived.ts:70](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L70)
[derived.ts:72](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L72)

***

Expand All @@ -79,7 +79,7 @@ This is a record of stores, because derived stores are not able to write values

#### Defined in

[derived.ts:99](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L99)
[derived.ts:101](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L101)

## Accessors

Expand All @@ -97,7 +97,7 @@ get prevState(): TState

#### Defined in

[derived.ts:163](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L163)
[derived.ts:165](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L165)

***

Expand All @@ -115,7 +115,7 @@ get state(): TState

#### Defined in

[derived.ts:154](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L154)
[derived.ts:156](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L156)

## Methods

Expand Down Expand Up @@ -149,7 +149,7 @@ prevVal: undefined | NonNullable<TState>;

#### Defined in

[derived.ts:102](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L102)
[derived.ts:104](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L104)

***

Expand All @@ -169,7 +169,7 @@ mount(): () => void

#### Defined in

[derived.ts:167](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L167)
[derived.ts:169](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L169)

***

Expand All @@ -193,4 +193,4 @@ subscribe(listener): () => void

#### Defined in

[derived.ts:210](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L210)
[derived.ts:212](https://github.com/TanStack/store/blob/main/packages/store/src/derived.ts#L212)
4 changes: 3 additions & 1 deletion packages/store/src/derived.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export interface DerivedOptions<

export class Derived<
TState,
const TArr extends ReadonlyArray<Derived<any> | Store<any>> = ReadonlyArray<any>,
const TArr extends ReadonlyArray<
Derived<any> | Store<any>
> = ReadonlyArray<any>,
> {
/**
* @private
Expand Down

0 comments on commit 7b0bdd2

Please sign in to comment.