Home > tsbuffer > TSBufferOptions > customTypes
Append CustomTypeSchema
to given schema, to customize validate & encode methods for specific types. For example 'mongodb/ObjectId'.
Signature:
customTypes?: {
[schemaId: string]: CustomTypeSchema;
};