cleanup and type fixes

This commit is contained in:
Labhansh Agrawal 2023-06-25 17:57:42 +05:30
parent 8991dfab61
commit e31d72cc31
12 changed files with 45 additions and 40 deletions

View file

@ -31,7 +31,7 @@ import parseUrl from 'parse-url';
import {HyperState, HyperDispatch, HyperActions, ITermGroups} from '../hyper';
import {stat, Stats} from 'fs';
export function openContextMenu(uid: string, selection: any) {
export function openContextMenu(uid: string, selection: string) {
return (dispatch: HyperDispatch, getState: () => HyperState) => {
dispatch({
type: UI_CONTEXTMENU_OPEN,