@types/koa-json
Advanced tools
@@ -20,7 +20,6 @@ // Type definitions for koa-json v2.x | ||
| declare function json(opts?: { | ||
| /** | ||
| * default to pretty response [true] | ||
| */ | ||
| pretty?: boolean | undefined, | ||
| */ | ||
| pretty?: boolean | undefined; | ||
@@ -30,3 +29,3 @@ /** | ||
| */ | ||
| param?: string | undefined, | ||
| param?: string | undefined; | ||
@@ -36,5 +35,5 @@ /** | ||
| */ | ||
| spaces?: number | undefined | ||
| spaces?: number | undefined; | ||
| }): Koa.Middleware; | ||
| declare namespace json { } | ||
| declare namespace json {} | ||
| export = json; |
| { | ||
| "name": "@types/koa-json", | ||
| "version": "2.0.20", | ||
| "version": "2.0.21", | ||
| "description": "TypeScript definitions for koa-json", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-json", | ||
| }, | ||
| "typesPublisherContentHash": "f23ac27ddc6cdad3aa6c778966be9cd8b6b2771ccdbb3958d90c93777d078cb6", | ||
| "typeScriptVersion": "3.6" | ||
| "typesPublisherContentHash": "a7c8415ef93d2817a2ca29008b4287bd6f0cb00694853d0078a70b479400c75a", | ||
| "typeScriptVersion": "4.5" | ||
| } |
@@ -30,7 +30,6 @@ # Installation | ||
| declare function json(opts?: { | ||
| /** | ||
| * default to pretty response [true] | ||
| */ | ||
| pretty?: boolean | undefined, | ||
| */ | ||
| pretty?: boolean | undefined; | ||
@@ -40,3 +39,3 @@ /** | ||
| */ | ||
| param?: string | undefined, | ||
| param?: string | undefined; | ||
@@ -46,5 +45,5 @@ /** | ||
| */ | ||
| spaces?: number | undefined | ||
| spaces?: number | undefined; | ||
| }): Koa.Middleware; | ||
| declare namespace json { } | ||
| declare namespace json {} | ||
| export = json; | ||
@@ -55,3 +54,3 @@ | ||
| ### Additional Details | ||
| * Last updated: Fri, 09 Jul 2021 02:32:32 GMT | ||
| * Last updated: Thu, 14 Sep 2023 01:49:18 GMT | ||
| * Dependencies: [@types/koa](https://npmjs.com/package/@types/koa) | ||
@@ -58,0 +57,0 @@ * Global values: none |
57
-1.72%