@microsoft/teams-js 2.0.0-beta.2-dev.5 → 2.0.0-beta.2-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2804,7 +2804,7 @@ declare module '@microsoft/teams-js/public/dialog' {
2804
2804
  * @param dialogInfo - An object containing the parameters of the dialog module
2805
2805
  * @param submitHandler - Handler to call when the task module is completed
2806
2806
  */
2807
- function open(dialogInfo: DialogInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
2807
+ function open(dialogInfo: DialogInfo, submitHandler?: (err: string, result: string | object) => void): IAppWindow;
2808
2808
  /**
2809
2809
  * Update height/width dialog info properties.
2810
2810
  *
@@ -4686,7 +4686,7 @@ declare module '@microsoft/teams-js/public/tasks' {
4686
4686
  * @param taskInfo - An object containing the parameters of the task module
4687
4687
  * @param submitHandler - Handler to call when the task module is completed
4688
4688
  */
4689
- function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
4689
+ function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string | object) => void): IAppWindow;
4690
4690
  /**
4691
4691
  * @deprecated with TeamsJS v2 upgrades
4692
4692
  *
@@ -395,7 +395,7 @@ __webpack_require__.d(__webpack_exports__, {
395
395
  });
396
396
 
397
397
  ;// CONCATENATED MODULE: ./src/internal/constants.ts
398
- var version = '2.0.0-beta.2-dev.5';
398
+ var version = '2.0.0-beta.2-dev.6';
399
399
  /**
400
400
  * @hidden
401
401
  * The SDK version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
@@ -5202,6 +5202,7 @@ var settings;
5202
5202
  })(settings || (settings = {}));
5203
5203
 
5204
5204
  ;// CONCATENATED MODULE: ./src/public/tasks.ts
5205
+ /* eslint-disable @typescript-eslint/ban-types */
5205
5206
 
5206
5207
 
5207
5208
  /**
@@ -5244,7 +5245,6 @@ var tasks;
5244
5245
  * @param result - Contains the result to be sent to the bot or the app. Typically a JSON object or a serialized version of it
5245
5246
  * @param appIds - Helps to validate that the call originates from the same appId as the one that invoked the task module
5246
5247
  */
5247
- // eslint-disable-next-line
5248
5248
  function submitTask(result, appIds) {
5249
5249
  dialog.submit(result, appIds);
5250
5250
  }