@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
23 lines • 599 B
JavaScript
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