common-types
Advanced tools
Comparing version 1.21.2 to 1.21.3
@@ -0,1 +1,3 @@ | ||
import { scalar } from "./aliases"; | ||
import { IDictionary } from "./basics"; | ||
/** | ||
@@ -6,3 +8,3 @@ * Identifies the most common properties included | ||
*/ | ||
export declare type IHttpRequestHeaders<T extends Record<string, unknown> = Record<string, unknown>> = T & { | ||
export declare type IHttpRequestHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = T & { | ||
/** | ||
@@ -57,3 +59,3 @@ * The `Accept` _request_ HTTP header advertises which content types, expressed as | ||
*/ | ||
export declare type IHttpResponseHeaders<T extends Record<string, unknown> = Record<string, unknown>> = T & { | ||
export declare type IHttpResponseHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = T & { | ||
/** | ||
@@ -169,3 +171,3 @@ * The `Allow` header lists the set of methods supported by a resource. | ||
}; | ||
export declare type IHttpHeaders<T extends Record<string, unknown> = Record<string, unknown>> = IHttpRequestHeaders<T> | IHttpResponseHeaders<T>; | ||
export declare type IHttpHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = IHttpRequestHeaders<T> | IHttpResponseHeaders<T>; | ||
export declare enum HttpStatusCodes { | ||
@@ -172,0 +174,0 @@ /** |
@@ -0,1 +1,3 @@ | ||
import { scalar } from "./aliases"; | ||
import { IDictionary } from "./basics"; | ||
/** | ||
@@ -6,3 +8,3 @@ * Identifies the most common properties included | ||
*/ | ||
export declare type IHttpRequestHeaders<T extends Record<string, unknown> = Record<string, unknown>> = T & { | ||
export declare type IHttpRequestHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = T & { | ||
/** | ||
@@ -57,3 +59,3 @@ * The `Accept` _request_ HTTP header advertises which content types, expressed as | ||
*/ | ||
export declare type IHttpResponseHeaders<T extends Record<string, unknown> = Record<string, unknown>> = T & { | ||
export declare type IHttpResponseHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = T & { | ||
/** | ||
@@ -169,3 +171,3 @@ * The `Allow` header lists the set of methods supported by a resource. | ||
}; | ||
export declare type IHttpHeaders<T extends Record<string, unknown> = Record<string, unknown>> = IHttpRequestHeaders<T> | IHttpResponseHeaders<T>; | ||
export declare type IHttpHeaders<T extends IDictionary<scalar> = IDictionary<scalar>> = IHttpRequestHeaders<T> | IHttpResponseHeaders<T>; | ||
export declare enum HttpStatusCodes { | ||
@@ -172,0 +174,0 @@ /** |
{ | ||
"name": "common-types", | ||
"version": "1.21.2", | ||
"version": "1.21.3", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
318163
7586