Skip to content

getGenericsOptions

@tsed/schema

Usage ​

typescript
import { getGenericsOptions } from "@tsed/schema";

See /packages/specs/schema/src/utils/generics.ts.

Overview ​

ts
function getGenericsOptions(value: JsonSchema, options: JsonSchemaOptions): {
    generics: import("@tsed/schema").GenericsMap | undefined;
    mapper: string;
};

Description ​

Resolve generic bindings and the mapper strategy associated with their origin.

generics: import ​

ts
generics: import("@tsed/schema").GenericsMap | undefined;

mapper ​

ts
mapper: string;

Released under the MIT License.