UNPKG

electr0lysis

Version:

Simple framework for data serialization and interchange.

14 lines 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function typed(...properties) { return (constructor) => { return _a = class extends constructor { }, _a.properties = properties .map(([name, type]) => ({ name, type })), _a; var _a; }; } exports.default = typed; //# sourceMappingURL=typed.js.map