import { MetadataTypes, Type } from "@tsed/core"; import { JsonMapperMethods } from "../interfaces/JsonMapperMethods.js"; import { JsonMapperGlobalOptions } from "./JsonMapperGlobalOptions.js"; /** * Options accepted by the `JsonSerializer`. They describe the target type, alias strategy, * additional type mappers, and group handling. */ export interface JsonSerializerOptions extends MetadataTypes, Pick { /** * Types used to map complex types (Symbol, Number, String, etc...) */ types?: Map | Symbol | string, JsonMapperMethods>; /** * useAlias mapping */ useAlias?: boolean; [key: string]: any; }