Skip to content

Commit

Permalink
Added unit tests - lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby committed Apr 4, 2019
1 parent 9767412 commit 5a9590d
Show file tree
Hide file tree
Showing 6 changed files with 749 additions and 5 deletions.
5 changes: 3 additions & 2 deletions packages/app/client/src/data/action/chatActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import { Activity, LogEntry } from '@bfemulator/sdk-shared';
import { LogEntry } from '@bfemulator/sdk-shared';
import { Action } from 'redux';
import { Activity } from 'botframework-schema';

export enum ChatActions {
activeInspectorChanged = 'CHAT/INSPECTOR/CHANGED',
Expand Down Expand Up @@ -243,7 +244,7 @@ export function updateChat(documentId: string, updatedValues: any): ChatAction<U
};
}

export function showContextMenuForActivity(activity: Activity): ChatAction<Activity> {
export function showContextMenuForActivity(activity: Partial<Activity>): ChatAction<Partial<Activity>> {
return {
type: ChatActions.showContextMenuForActivity,
payload: activity,
Expand Down
Loading

0 comments on commit 5a9590d

Please sign in to comment.