From ba3ae134cc16ecd6e60708cb4563f8149fc519ee Mon Sep 17 00:00:00 2001 From: Nikhil Yogendra Murali <25237515+nikhilym@users.noreply.github.com> Date: Thu, 26 Apr 2018 14:52:55 -0700 Subject: [PATCH] Fix return type in dispath doc comments Fix the return type in dispatch method, which returns Response rather than Response Envelope. --- ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts b/ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts index 2898c1f0..3cbcec70 100644 --- a/ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts +++ b/ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts @@ -45,7 +45,7 @@ export class DefaultRequestDispatcher implements RequestDispatcher { * Main entry point for dispatching logic. * Dispatches handlerInput to requestHandlers and error, if any, to _errorHandlers * @param {HandlerInput} handlerInput - * @returns {Promise} + * @returns {Promise} */ public async dispatch(handlerInput : HandlerInput) : Promise { let response : Response;