UNPKG

@yamamotok/dataobject

Version:

Decorator based JSON serializer and deserializer.

11 lines (10 loc) 360 B
import { ToPlainOptions } from './ToPlainOptions'; import { ToPlainFunction } from './types'; export declare class ToPlain { /** * Create toPlain() method. * @param ctor the class * @param toPlainOptions several options */ static createToPlain<T>(ctor: new () => T, toPlainOptions?: ToPlainOptions): ToPlainFunction<T>; }