4 lines
295 B
TypeScript
4 lines
295 B
TypeScript
import { Serializable, Serializer } from './interface';
|
|
import { SerdeOptions } from '../options';
|
|
import { Nullable } from '../utils';
|
|
export declare function serializeWith<T>(serializer: Serializer<T>, value: Serializable, optionsGetter?: (value: any) => Nullable<SerdeOptions>): Nullable<T>;
|