electr0lysis
Version:
Simple framework for data serialization and interchange.
12 lines • 430 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const PropertyAccessError_1 = require("./PropertyAccessError");
function getProperties(constructor) {
const properties = constructor["properties"];
if (!properties) {
throw new PropertyAccessError_1.default(constructor);
}
return properties;
}
exports.default = getProperties;
//# sourceMappingURL=getProperties.js.map