UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

18 lines 414 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CustomType { constructor(name) { this.name = name; } serialize() { return { type: 'CustomType', name: this.name }; } static deserialize(raw) { return new CustomType(raw['name']); } } exports.default = CustomType; //# sourceMappingURL=CustomType.js.map