@shapediver/sdk.sdtf-v1
Version:
Official sdTF SDK for TypeScript
20 lines • 696 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SdtfPartialTypeHint = void 0;
const SdtfBasePartialComponent_1 = require("./SdtfBasePartialComponent");
class SdtfPartialTypeHint extends SdtfBasePartialComponent_1.SdtfBasePartialComponent {
constructor() {
super(...arguments);
this.additionalProperties = {};
}
toJson() {
const json = Object.assign({}, this.additionalProperties);
if (this.name !== undefined)
json.name = this.name;
else
delete json.name;
return json;
}
}
exports.SdtfPartialTypeHint = SdtfPartialTypeHint;
//# sourceMappingURL=SdtfPartialTypeHint.js.map