Skip to content

Commit

Permalink
Fix return type in dispath doc comments
Browse files Browse the repository at this point in the history
Fix the return type in dispatch method, which returns Response rather than Response Envelope.
  • Loading branch information
nikhilym authored Apr 26, 2018
1 parent 7a6601a commit ba3ae13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ask-sdk-core/lib/dispatcher/DefaultRequestDispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ResponseEnvelope>}
* @returns {Promise<Response>}
*/
public async dispatch(handlerInput : HandlerInput) : Promise<Response> {
let response : Response;
Expand Down

0 comments on commit ba3ae13

Please sign in to comment.