@types/koa-static
Advanced tools
Comparing version 2.0.22 to 3.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for koa-static v2.x | ||
// Type definitions for koa-static 3.0 | ||
// Project: https://github.com/koajs/static | ||
@@ -16,7 +16,5 @@ // Definitions by: Jerry Chin <https://github.com/hellopao/> | ||
import * as Koa from "koa"; | ||
declare function serve(root: string, opts?: { | ||
/** | ||
@@ -46,4 +44,9 @@ * Default file name, defaults to 'index.html' | ||
gzip?: boolean; | ||
/** | ||
* Try to match extensions from passed array to search for file when no extension is sufficed in URL. First found is served. (defaults to `false`) | ||
*/ | ||
extensions?: string[]; | ||
}): Koa.Middleware; | ||
declare namespace serve{} | ||
declare namespace serve {} | ||
export = serve; |
{ | ||
"name": "@types/koa-static", | ||
"version": "2.0.22", | ||
"version": "3.0.0", | ||
"description": "TypeScript definitions for koa-static", | ||
"license": "MIT", | ||
"author": "Jerry Chin <https://github.com/hellopao/>", | ||
"contributors": [ | ||
{ | ||
"name": "Jerry Chin", | ||
"url": "https://github.com/hellopao/" | ||
} | ||
], | ||
"main": "", | ||
@@ -17,3 +22,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "16012b68e2ff04763b0c294a4b67e6d7171491eb5b699e146819b691eab444fd" | ||
"typesPublisherContentHash": "34db6ecd886b878e9b99cf9c41db03ac212ff993da3af73ac707c3cd1c6fcd42", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,8 +8,7 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/koa-static | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-static | ||
Additional Details | ||
* Last updated: Mon, 19 Dec 2016 22:35:58 GMT | ||
* Library Dependencies: none | ||
* Module Dependencies: koa | ||
* Last updated: Fri, 02 Jun 2017 13:25:33 GMT | ||
* Dependencies: koa | ||
* Global values: none | ||
@@ -16,0 +15,0 @@ |
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
3772
39
17