@nestia/sdk
Version:
Nestia SDK and Swagger generator
6 lines (5 loc) • 316 B
TypeScript
export declare namespace HttpResponseContentTypeUtil {
type Response = "application/json" | "text/plain" | "application/x-www-form-urlencoded" | (string & {}) | null;
const isSupported: (input: string | null) => input is Response;
const isBinary: (input: string | null | undefined) => input is string;
}