UNPKG

@dasch-swiss/dsp-js

Version:
23 lines 599 B
import { __decorate } from "tslib"; import { JsonConverter } from 'json2typescript'; /** * @category Internal */ let GuiAttributeConverter = class GuiAttributeConverter { serialize(attrs) { } deserialize(attrs) { let guiAttributes; if (Array.isArray(attrs)) { guiAttributes = attrs; } else { guiAttributes = [attrs]; } return guiAttributes; } }; GuiAttributeConverter = __decorate([ JsonConverter ], GuiAttributeConverter); export { GuiAttributeConverter }; //# sourceMappingURL=gui-attribute-converter.js.map