@yamamotok/dataobject
Version:
Decorator based JSON serializer and deserializer.
11 lines (10 loc) • 360 B
TypeScript
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>;
}