@dipscope/type-manager
Version:
Transform JSON strings or plain objects into JS class instances.
11 lines • 356 B
TypeScript
import { TypeDecorator } from './type-decorator';
import { TypeOptions } from './type-options';
/**
* Type decorator.
*
* @param {TypeOptions<TObject>} typeOptions Type options.
*
* @returns {TypeDecorator} Type decorator.
*/
export declare function Type<TObject>(typeOptions?: TypeOptions<TObject>): TypeDecorator;
//# sourceMappingURL=type.d.ts.map