@types/aws-lambda
Advanced tools
Comparing version 0.0.35 to 8.10.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for AWS Lambda | ||
// Type definitions for AWS Lambda 8.10 | ||
// Project: http://docs.aws.amazon.com/lambda | ||
@@ -565,4 +565,9 @@ // Definitions by: James Darbyshire <https://github.com/darbio/aws-lambda-typescript> | ||
* @param callback – optional callback to return information to the caller, otherwise return value is null. | ||
* @return In the node8.10 runtime, a promise for the lambda result. | ||
*/ | ||
export type Handler<TEvent = any, TResult = any> = (event: TEvent, context: Context, callback: Callback<TResult>) => void; | ||
export type Handler<TEvent = any, TResult = any> = ( | ||
event: TEvent, | ||
context: Context, | ||
callback: Callback<TResult>, | ||
) => void | Promise<TResult>; | ||
@@ -569,0 +574,0 @@ /** |
{ | ||
"name": "@types/aws-lambda", | ||
"version": "0.0.35", | ||
"version": "8.10.0", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
@@ -98,4 +98,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "41d5a4faf69974dd337ec59e50fb2146907b09a79cb55a4e5061198ccd32c243", | ||
"typesPublisherContentHash": "23fe8ea46a8693b3f66289d75c213647bb4f13da2d555eec2b8f529db738bc20", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 06 Apr 2018 19:54:30 GMT | ||
* Last updated: Mon, 09 Apr 2018 17:27:31 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: AWSLambda |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
25881
559
1