Fix @typescript-eslint/no-unsafe-call errors

This commit is contained in:
Labhansh Agrawal 2021-03-29 01:24:27 +05:30
parent 9b0a57db13
commit c347ce8483
15 changed files with 40 additions and 20 deletions

View file

@ -29,9 +29,7 @@ import {
import {setActiveGroup} from './term-groups';
import parseUrl from 'parse-url';
import {HyperState, HyperDispatch, HyperActions} from '../hyper';
import {Stats} from 'fs';
const {stat} = window.require('fs');
import {stat, Stats} from 'fs';
export function openContextMenu(uid: string, selection: any) {
return (dispatch: HyperDispatch, getState: () => HyperState) => {