Skip to content

Commit d172b34

Browse files
committed
fix(ReduceStore): make state protected
1 parent 7a03e3e commit d172b34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ReduceStore.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const assert = require("assert");
44
import { Store, Payload } from "almin";
55
import { ReduceState } from "./ReduceState";
66
export class ReduceStore extends Store {
7-
state: ReduceState | null;
7+
protected state: ReduceState | null;
88

99
constructor() {
1010
super();
@@ -39,7 +39,6 @@ this.state.constructor: ${this.state!.constructor}
3939
/**
4040
* Call `State#reduce` and setState
4141
* @param {Payload} payload
42-
* @private
4342
*/
4443
private _onDispatch(payload: Payload): void {
4544
if (process.env.NODE_ENV !== "production") {

0 commit comments

Comments
 (0)