import { getDefinition } from "../classes/object-definition";
// tslint:disable:ext-variable-name only-arrow-functions
export function JsonWriteonly() {
    return function (target, key) {
        var property = getDefinition(target.constructor).getProperty(key.toString());
        property.writeonly = true;
    };
}
//# sourceMappingURL=json-writeonly.js.map