Skip to content
Myr

Change CounterStore type from intersection to union (#3565)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Danilo Britto · committed by GitHub · parent 2115efb · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/learn/guides/nextjs.md+1 added-1 removed
84 unmodified lines
85 decrementCount: () => void86 incrementCount: () => void87}8889export type CounterStore = CounterState & CounterActions89export type CounterStore = CounterState | CounterActions9091export const defaultInitState: CounterState = {92 count: 0,93}
223 unmodified lines