UNPKG

@loopback/repository

Version:

Define and implement a common set of interfaces for interacting with databases

14 lines (13 loc) • 455 B
import { Options } from '../common-types'; import { Type } from './type'; /** * Buffer (binary) type */ export declare class BufferType implements Type<Buffer> { readonly name = "buffer"; isInstance(value: any): boolean; defaultValue(): Buffer<ArrayBuffer>; isCoercible(value: any): boolean; coerce(value: any, options?: Options): any; serialize(value: Buffer | null | undefined, options?: Options): string | null | undefined; }