Repository URL to install this package:
|
Version:
2.6.18 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const IncrementerState_1 = require("./IncrementerState");
function initIncrementerState() {
return new IncrementerState_1.IncrementerState();
}
exports.initIncrementerState = initIncrementerState;
function toIncrementerState(props) {
if (props.state === undefined) {
const state = initIncrementerState();
state.update(props);
return state;
} else {
return props.state;
}
}
exports.toIncrementerState = toIncrementerState; //# sourceMappingURL=deps.js.map