PLATFORM_CONTENT_TYPES_CONTAINER
@tsed/platform-response-filter
Usage
typescript
import { PLATFORM_CONTENT_TYPES_CONTAINER } from "@tsed/platform-response-filter";See /packages/platform/platform-response-filter/src/services/PlatformContentTypesContainer.ts.
Overview
ts
const PLATFORM_CONTENT_TYPES_CONTAINER: import("@tsed/di").FactoryTokenProvider<{
contentTypes: string[];
resolve(bestContentType: string): ResponseFilterMethods<unknown> | undefined;
}>;
export type PLATFORM_CONTENT_TYPES_CONTAINER = typeof PLATFORM_CONTENT_TYPES_CONTAINER;contentTypes
ts
contentTypes: string[];resolve
ts
resolve(bestContentType: string): ResponseFilterMethods<unknown> | undefined;