Builder

constructor(initialState: T, validator: StateValidator<T>)