UNPKG

airship-server

Version:

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

13 lines (11 loc) 274 B
import {Type} from "./Type"; export default class StringType implements Type { public serialize(): Object { return { type: 'StringType' } } public static deserialize(raw: Object): StringType { return new StringType() } }