Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Oct 23, 2023
1 parent 6605ba4 commit 66d83c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/webview/AppState/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { calcDocSettings, getWebviewGlobalStore } from './store';
export { awaitSubscribable } from '../../Subscribables/helpers/awaitSubscribable';
export { calcDocSettings, getWebviewGlobalStore } from './store';
4 changes: 2 additions & 2 deletions packages/client/src/webview/AppState/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import type { WatchFieldList, WatchFields } from 'webview-api';

import { getDependencies } from '../../di';
import { calcSettings } from '../../infoViewer/infoHelper';
import { getLogger } from '../api/api';
import type { AppStateData } from '../apiTypes';
import { createSubscribableView, pipe, rx, throttle } from '../../Subscribables';
import { toSubscriberFn } from '../../Subscribables/helpers/toSubscriber';
import type { MakeSubscribable, StoreValue } from '../../Subscribables/StoreValue';
import { createStoreValue } from '../../Subscribables/StoreValue';
import type { SubscriberLike } from '../../Subscribables/Subscribables';
import { getLogger } from '../api/api';
import type { AppStateData } from '../apiTypes';

export interface Storage {
seq: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/webview/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { type MessageConnection } from 'vscode-jsonrpc/node';
import type { RequestResult, SetValueRequest, SetValueResult, WatchFieldList, WatchFields } from 'webview-api';
import { createServerSideSpellInfoWebviewApi } from 'webview-api';

import type { StoreValue } from '../../Subscribables/StoreValue';
import type { Subscribable } from '../../Subscribables/Subscribables';
import type { ServerSideApi, ServerSideApiDef } from '../apiTypes';
import { awaitSubscribable, getWebviewGlobalStore } from '../AppState';
import { calcDocSettings, type Storage, updateState, watchFieldList } from '../AppState/store';
import type { StoreValue } from '../../Subscribables/StoreValue';
import type { Subscribable } from '../../Subscribables/Subscribables';
import { sampleList } from './staticTestData';

export function createApi(connection: MessageConnection) {
Expand Down

0 comments on commit 66d83c8

Please sign in to comment.