fix(core): update
This commit is contained in:
parent
f90a61b38b
commit
315156aac5
@ -5,7 +5,7 @@ import { StatePart } from './smartstate.classes.statepart';
|
|||||||
* Smartstate takes care of providing state
|
* Smartstate takes care of providing state
|
||||||
*/
|
*/
|
||||||
export class Smartstate<StatePartNameType> {
|
export class Smartstate<StatePartNameType> {
|
||||||
statePartMap: { [key: string]: StatePart<StatePartNameType, any> } = {};
|
public statePartMap: { [key: string]: StatePart<StatePartNameType, any> } = {};
|
||||||
|
|
||||||
constructor() {}
|
constructor() {}
|
||||||
|
|
||||||
@ -30,6 +30,11 @@ export class Smartstate<StatePartNameType> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* creates a statepart
|
||||||
|
* @param statePartName
|
||||||
|
* @param initialPayloadArg
|
||||||
|
*/
|
||||||
private createStatePart<PayloadType>(
|
private createStatePart<PayloadType>(
|
||||||
statePartName: StatePartNameType,
|
statePartName: StatePartNameType,
|
||||||
initialPayloadArg: PayloadType
|
initialPayloadArg: PayloadType
|
||||||
|
Loading…
Reference in New Issue
Block a user