@api-ts/io-ts-http
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -12,4 +12,5 @@ import * as t from 'io-ts'; | ||
export declare type Method = t.TypeOf<typeof Method>; | ||
export declare type PathString = `/${string}`; | ||
export declare type HttpRoute<M extends Method = Method> = { | ||
readonly path: string; | ||
readonly path: PathString; | ||
readonly method: Uppercase<M>; | ||
@@ -16,0 +17,0 @@ readonly request: HttpRequestCodec<any>; |
{ | ||
"name": "@api-ts/io-ts-http", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "Types for (de)serializing HTTP requests from both the client and server side", | ||
@@ -5,0 +5,0 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
62500
907