Skip to content

JsonHeaders

@tsed/schema

Usage

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

See /packages/specs/schema/src/types/interfaces/JsonOpenSpec.ts.

Overview

ts
interface JsonHeaders {
    [key: string]: number | string | (JsonHeader & {
        type?: string;
        value?: string | number;
    });
}

[key: string]: number | string |

ts
[key: string]: number | string | (JsonHeader & {
     type?: string;
     value?: string | number;
 });

Released under the MIT License.