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

9 lines
296 B
TypeScript

import { Constructor } from '../utils';
import { Serializer } from './interface';
export declare function serialize<T extends Constructor>(constructor: T): {
new (...args: any[]): {
[x: string]: any;
serialize<U>(serializer: Serializer<U>): U;
};
name: string;
} & T;