@types/co-body
Advanced tools
Comparing version 5.1.1 to 6.1.0
@@ -1,9 +0,7 @@ | ||
// Type definitions for co-body 5.1 | ||
// Type definitions for co-body 6.1 | ||
// Project: https://github.com/cojs/co-body | ||
// Definitions by: Joshua DeVinney <https://github.com/geoffreak> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
/// <reference types="node"/> | ||
/// <reference types="qs"/> | ||
@@ -16,10 +14,22 @@ import * as http from 'http'; | ||
export interface Parse { | ||
interface Parse { | ||
/** | ||
* @async | ||
*/ | ||
(context: Context, options?: Options): Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
text: (context: Context, options?: Options) => Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
form: (context: Context, options?: Options) => Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
json: (context: Context, options?: Options) => Promise<any>; | ||
} | ||
export interface Options { | ||
interface Options { | ||
limit?: number | string | undefined; | ||
@@ -26,0 +36,0 @@ strict?: boolean | undefined; |
{ | ||
"name": "@types/co-body", | ||
"version": "5.1.1", | ||
"version": "6.1.0", | ||
"description": "TypeScript definitions for co-body", | ||
@@ -26,4 +26,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body", | ||
}, | ||
"typesPublisherContentHash": "69024dca97ab404e066ecf33fb38380cf72d6b5af8a2dc2c05dc143005408016", | ||
"typesPublisherContentHash": "efda177d429b470d7e43f8f93f8ace23a7b6670df2a39dbf16fdf4334120b78a", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,10 +11,8 @@ # Installation | ||
````ts | ||
// Type definitions for co-body 5.1 | ||
// Type definitions for co-body 6.1 | ||
// Project: https://github.com/cojs/co-body | ||
// Definitions by: Joshua DeVinney <https://github.com/geoffreak> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
/// <reference types="node"/> | ||
/// <reference types="qs"/> | ||
@@ -27,10 +25,22 @@ import * as http from 'http'; | ||
export interface Parse { | ||
interface Parse { | ||
/** | ||
* @async | ||
*/ | ||
(context: Context, options?: Options): Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
text: (context: Context, options?: Options) => Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
form: (context: Context, options?: Options) => Promise<any>; | ||
/** | ||
* @async | ||
*/ | ||
json: (context: Context, options?: Options) => Promise<any>; | ||
} | ||
export interface Options { | ||
interface Options { | ||
limit?: number | string | undefined; | ||
@@ -54,3 +64,3 @@ strict?: boolean | undefined; | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 18:05:54 GMT | ||
* Last updated: Thu, 29 Jul 2021 13:31:24 GMT | ||
* Dependencies: [@types/qs](https://npmjs.com/package/@types/qs), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -57,0 +67,0 @@ * Global values: none |
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
5368
41
68