@microsoft/teams.apps
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.apps" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.apps/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.apps?activeTab=code
21 lines (20 loc) • 380 B
TypeScript
import { Activity } from '@microsoft/teams.api';
import { IPlugin } from '../types';
/**
* the event emitted by a plugin
* when an error occurs
*/
export interface IErrorEvent {
/**
* the sender
*/
readonly sender?: IPlugin;
/**
* the error
*/
error: Error;
/**
* inbound request activity payload
*/
activity?: Activity;
}