UNPKG

@bjesuiter/serializr-helpers

Version:

Provides some helper functions and serialization PropertySchemas for mobxjs/serializr - library

9 lines (8 loc) 388 B
/** * This serializr PropertySchema can be used with @serializable(MomentSerializationSchema) * to make moment.js Moment objects serializable * @type {PropSchema} */ import { PropSchema } from 'serializr'; import { MomentSerializationOptions } from "./moment-serialization-options"; export declare function MomentSerializationSchema(options?: MomentSerializationOptions): PropSchema;