UNPKG

modaq

Version:

Quiz Bowl Reader using TypeScript, React, and MobX

22 lines 727 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AddQuestionDialogState = void 0; const mobx_1 = require("mobx"); const PacketState_1 = require("./PacketState"); class AddQuestionDialogState { constructor() { Object.defineProperty(this, "newPacket", { enumerable: true, configurable: true, writable: true, value: void 0 }); mobx_1.makeAutoObservable(this); this.newPacket = new PacketState_1.PacketState(); } setPacket(packet) { this.newPacket = packet; } } exports.AddQuestionDialogState = AddQuestionDialogState; //# sourceMappingURL=AddQuestionsDialogState.js.map