mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Fix older compatible functions on the aws-lambda context (#11924)
* Updated aws-lambda Fixed issue #10956 * Bring back old functions for Node.js Runtime v0.10.42 Bring back old functions for Node.js Runtime v0.10.42 * Fix older compatible functions on the aws-lambda context definition Fix older compatible functions on the aws-lambda context definition
This commit is contained in:
committed by
Masahiro Wakame
parent
3f67905cbe
commit
0699fa8706
Vendored
+3
-1
@@ -23,7 +23,9 @@ declare module "aws-lambda" {
|
||||
getRemainingTimeInMillis(): number;
|
||||
|
||||
// Functions for compatibility with earlier Node.js Runtime v0.10.42
|
||||
log(message: string, object: any): void;
|
||||
// For more details see http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-using-old-runtime.html#nodejs-prog-model-oldruntime-context-methods
|
||||
done(error?: Error, result?: any): void;
|
||||
fail(error: Error): void;
|
||||
fail(message: string): void;
|
||||
succeed(message: string): void;
|
||||
succeed(object: any): void;
|
||||
|
||||
Reference in New Issue
Block a user