serde-ts/dist/ser/impl.d.ts
2025-05-18 20:05:52 -05:00

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>;