UNPKG

ts-deserializable

Version:

Decorator pattern for deserializing unverified data to an instance of a class in typescript.

13 lines (12 loc) 380 B
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("./ds-class.decorator")); __export(require("./ds-prop.decorator")); class Deserializable { deserialize(obj) { return obj; } ; } exports.Deserializable = Deserializable;