Commit 28f09161 authored by Robert Knight's avatar Robert Knight

Reformat code with Prettier 3.2.2

parent de47ed96
......@@ -578,15 +578,12 @@ export class Guest extends TinyEmitter implements Annotator, Destroyable {
},
);
this._sidebarRPC.on(
'showContentInfo',
(info: ContentInfoConfig) => this._integration.showContentInfo?.(info),
this._sidebarRPC.on('showContentInfo', (info: ContentInfoConfig) =>
this._integration.showContentInfo?.(info),
);
this._sidebarRPC.on(
'navigateToSegment',
(annotation: AnnotationData) =>
this._integration.navigateToSegment?.(annotation),
this._sidebarRPC.on('navigateToSegment', (annotation: AnnotationData) =>
this._integration.navigateToSegment?.(annotation),
);
// Connect to sidebar and send document info/URIs to it.
......
......@@ -44,14 +44,10 @@ type Module<
*
* `StoreFromModule<firstModule> & StoreFromModule<secondModule>`
*/
type StoreFromModule<T> = T extends Module<
any,
infer Actions,
infer Selectors,
infer RootSelectors
>
? Store<Actions, Selectors, RootSelectors>
: never;
type StoreFromModule<T> =
T extends Module<any, infer Actions, infer Selectors, infer RootSelectors>
? Store<Actions, Selectors, RootSelectors>
: never;
/**
* Redux store augmented with selector methods to query specific state and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment