+23
@@ -0,0 +1,23 @@
|
||||
import {
|
||||
__name
|
||||
} from "./chunk-XOKMXDAB.js";
|
||||
|
||||
// node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs
|
||||
var _a;
|
||||
var ImperativeState = (_a = class {
|
||||
/**
|
||||
* @param init - Function that creates the default state.
|
||||
*/
|
||||
constructor(init) {
|
||||
this.init = init;
|
||||
this.records = this.init();
|
||||
}
|
||||
reset() {
|
||||
this.records = this.init();
|
||||
}
|
||||
}, __name(_a, "ImperativeState"), _a);
|
||||
|
||||
export {
|
||||
ImperativeState
|
||||
};
|
||||
//# sourceMappingURL=chunk-VPVLR6E4.js.map
|
||||
Reference in New Issue
Block a user