@types/koa-send
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -9,3 +9,3 @@ // Type definitions for koa-send 4.1 | ||
import { | ||
Context, | ||
ParameterizedContext, | ||
} from "koa"; | ||
@@ -17,6 +17,6 @@ | ||
declare function send(ctx: Context, path: string, opts?: send.SendOptions): Promise<string>; | ||
declare function send(ctx: ParameterizedContext, path: string, opts?: send.SendOptions): Promise<string>; | ||
declare namespace send { | ||
type SetHeaders = (res: Context["res"], path: string, stats: Stats) => any; | ||
type SetHeaders = (res: ParameterizedContext["res"], path: string, stats: Stats) => any; | ||
@@ -23,0 +23,0 @@ interface SendOptions { |
{ | ||
"name": "@types/koa-send", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "TypeScript definitions for koa-send", | ||
@@ -19,5 +19,7 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/koa-send" | ||
}, | ||
@@ -28,4 +30,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "5a33d81fb645d28975668b4f1a64ddda71ea260b50d29408f76433057466f3d9", | ||
"typesPublisherContentHash": "20de504cc985d5783cc91704d235d025239308787310c53485b1c981de595595", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -5,10 +5,10 @@ # Installation | ||
# Summary | ||
This package contains type definitions for koa-send (https://github.com/koajs/send). | ||
This package contains type definitions for koa-send ( https://github.com/koajs/send ). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-send | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-send | ||
Additional Details | ||
* Last updated: Thu, 28 Dec 2017 19:26:51 GMT | ||
* Dependencies: koa, fs | ||
* Last updated: Tue, 05 Mar 2019 17:40:29 GMT | ||
* Dependencies: @types/koa | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
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
4767