Skip to content

Commit 481b9b5

Browse files
authored
Merge pull request #1402 from jmendiara/jmendiara-patch-1
[Node] Propagate types in endDialogWithResult
2 parents 6072e50 + cfd155c commit 481b9b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Node/core/lib/botbuilder.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//=============================================================================
1+
//=============================================================================
22
//
33
// INTERFACES
44
//
@@ -1164,7 +1164,7 @@ export class Session {
11641164
/**
11651165
* Ends the current dialog and optionally returns a result to the dialogs parent.
11661166
*/
1167-
endDialogWithResult(result?: IDialogResult<any>): Session;
1167+
endDialogWithResult<T>(result?: IDialogResult<T>): Session;
11681168

11691169
/**
11701170
* Cancels an existing dialog and optionally starts a new one it its place. Unlike [endDialog()](#enddialog)

0 commit comments

Comments
 (0)