8 lines
280 B
JavaScript
8 lines
280 B
JavaScript
import { StateNode } from './StateNode';
|
|
export function Machine(config, options, initialContext) {
|
|
if (initialContext === void 0) {
|
|
initialContext = config.context;
|
|
}
|
|
return new StateNode(config, options, initialContext);
|
|
}
|
|
//# sourceMappingURL=Machine.js.map
|