move typings into a separate directory
This commit is contained in:
parent
33f7d2bad5
commit
c62ed62752
56 changed files with 87 additions and 78 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import type {Dispatch, Middleware} from 'redux';
|
||||
import type {HyperActions, HyperState} from '../hyper';
|
||||
import type {HyperActions, HyperState} from '../../typings/hyper';
|
||||
/**
|
||||
* Simple redux middleware that executes
|
||||
* the `effect` field if provided in an action
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {ipcRenderer as _ipc} from 'electron';
|
||||
import type {IpcRendererWithCommands} from '../../common';
|
||||
import type {IpcRendererWithCommands} from '../../typings/common';
|
||||
|
||||
export const ipcRenderer = _ipc as IpcRendererWithCommands;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import type {
|
|||
TermProps,
|
||||
Assignable,
|
||||
HyperActions
|
||||
} from '../hyper';
|
||||
} from '../../typings/hyper';
|
||||
import type {Dispatch, Middleware} from 'redux';
|
||||
import {ObjectTypedKeys} from './object';
|
||||
import IPCChildProcess from './ipc-child-process';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
import {EventEmitter} from 'events';
|
||||
import type {IpcRendererEvent} from 'electron';
|
||||
import type {FilterNever, IpcRendererWithCommands, MainEvents, RendererEvents, TypedEmitter} from '../../common';
|
||||
import type {
|
||||
FilterNever,
|
||||
IpcRendererWithCommands,
|
||||
MainEvents,
|
||||
RendererEvents,
|
||||
TypedEmitter
|
||||
} from '../../typings/common';
|
||||
import {ipcRenderer} from './ipc';
|
||||
|
||||
export default class Client {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type {ITermState} from '../hyper';
|
||||
import type {ITermState} from '../../typings/hyper';
|
||||
|
||||
export default function findBySession(termGroupState: ITermState, sessionUid: string) {
|
||||
const {termGroups} = termGroupState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue