import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { Target } from '@overflow/commons-typescript/model/target'; export interface State { error: RPCClientError | null; pending: boolean; target: Target | null; } export const initialState: State = { error: null, pending: false, target: null, };